Fixed bug in functional and unit tests driver.sh

- The driver previously did not propagate errors correctly
- Adjusted gtest filters

driver edit


[ROCm/rocshmem commit: 3f857718fd]
このコミットが含まれているのは:
Yiltan Temucin committed 2024-11-15 10:50:31 -06:00
1 親 d12bc504dc
コミット 97bac1004f
2ファイル変更
+20 -6

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -20,6 +20,8 @@
#!/bin/bash
driver_return_status=0
if [ $# -eq 0 ] ; then
echo "This script must be run with at least 2 arguments."
echo 'Usage: ${0} argument1 argument2 [argument3]'
@@ -35,6 +37,7 @@ check() {
if [ $? -ne 0 ]
then
echo "Failed $1" >&2
driver_return_status=1
fi
}
@@ -579,4 +582,4 @@ case $2 in
;;
esac
exit $?
exit $(($driver_return_status || $?))