diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-12 20:00:38 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-05-12 20:00:38 +0000 |
commit | 4f86270e6b63c5f050adf90b04a54dd4fbe8897b (patch) | |
tree | 18eeaa31403c24dfe3f84a4f64918c2456ac53bd /UnitTesting/RunMacOSUnitTests.sh | |
parent | ca0f99283db052748f3d6d92a2d48818c820cc5c (diff) |
[Author: dmaclach]
Add verbosity, exit on err and error on unset variable to all script phases.
Should help track down build problems, and it found a couple of shell script errors.
R=mrossetti,hawk
DELTA=75 (16 added, 0 deleted, 59 changed)
Diffstat (limited to 'UnitTesting/RunMacOSUnitTests.sh')
-rwxr-xr-x | UnitTesting/RunMacOSUnitTests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UnitTesting/RunMacOSUnitTests.sh b/UnitTesting/RunMacOSUnitTests.sh index 488d9b3..4ffa5d0 100755 --- a/UnitTesting/RunMacOSUnitTests.sh +++ b/UnitTesting/RunMacOSUnitTests.sh @@ -55,6 +55,10 @@ # non-zero value. # +set -o errexit +set -o nounset +set -o verbose + ScriptDir=$(dirname $(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")) ScriptName=$(basename "$0") ThisScript="${ScriptDir}/${ScriptName}" |