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 于 2024-11-15 10:50:31 -06:00 提交
1 父节点 d12bc504dc
当前提交 97bac1004f
2 个文件已更改
+20 -6

没有与搜索条件相匹配的文件

@@ -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 || $?))