diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-03-24 14:50:25 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-03-24 14:50:25 +0000 |
commit | e737fba8264469816988e6983b365f3079cfd8e3 (patch) | |
tree | 7e88cb808f4a9513bc4ab716ae997cc06ff816c5 /tcwg-llvm-testsuite.sh | |
parent | 6730292a5bfeaa882e1a189f7a39058d4f8defb4 (diff) |
tcwg-llvm-testsuite.sh: Add set -u and fix variables
Change-Id: If5b95c1cb6837dc8791368d170878ec6a9e1d4d2
Diffstat (limited to 'tcwg-llvm-testsuite.sh')
-rwxr-xr-x | tcwg-llvm-testsuite.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcwg-llvm-testsuite.sh b/tcwg-llvm-testsuite.sh index 3db70d34..a1abb1de 100755 --- a/tcwg-llvm-testsuite.sh +++ b/tcwg-llvm-testsuite.sh @@ -6,11 +6,12 @@ set -e set -o pipefail +set -u # Syntax SYN_TOOLCHAIN="--toolchain=http://url/for/tarball" SYN_WORKSPACE="--workspace=/full/path/to/workspace" -SYNTAX="$0 $STN_TOOLCHAIN $SYN_WORKSPACE" +SYNTAX="$0 $SYN_TOOLCHAIN $SYN_WORKSPACE" # Environment Variables and default values CPUS=$(nproc --all) @@ -91,7 +92,7 @@ cd "$WORKSPACE" && virtualenv --python=$python sandbox |& tee "$LOGBASE-setup.$L cd "$WORKSPACE" && "$WORKSPACE/sandbox/bin/python" "$WORKSPACE/lnt/setup.py" develop |& tee "$LOGBASE-setup.$LOGEXT" # Run the test-suite -cd "$WROKSPACE" && CC="$CC" CXX="$CXX" "$WORKSPACE/sandbox/bin/python" \ +cd "$WORKSPACE" && CC="$CC" CXX="$CXX" "$WORKSPACE/sandbox/bin/python" \ "$WORKSPACE/sandbox/bin/lnt" runtest nt \ "-j$CPUS" \ --no-timestamp \ |