Fixed bug in functional and unit tests driver.sh
- The driver previously did not propagate errors correctly - Adjusted gtest filters driver edit
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
02834a66a8
υποβολή
3f857718fd
2 files changed
+20
-6
No files matched your search
@@ -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 || $?))
|
||||
Reference in new issue
Block a user