diff options
author | Vegard Sjonfjell <vegardsjo@gmail.com> | 2016-06-28 13:20:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 13:20:00 +0200 |
commit | 7824d2b515cba557c9c4028591ede0b4b9256b77 (patch) | |
tree | 888581b502ba64706658ead749492708927d1b8a /lowercasing_test | |
parent | 3962f601fa92e8aba19e3efc230840b9f4f5a5a7 (diff) |
Fail test scripts on first error (#194)
* Fail test scripts on first error
* Some more test fixes
* Reverted prod_features_test fix
* Re-added prod_features_test.sh change matching that of PR #193
* More error checking
* Reverted set -e on failing tests
* Enable errexit in lowercasing test
Diffstat (limited to 'lowercasing_test')
4 files changed, 7 insertions, 4 deletions
diff --git a/lowercasing_test/src/tests/hello-world/dotest.sh b/lowercasing_test/src/tests/hello-world/dotest.sh index 8a183b81148..53f66a84ffe 100755 --- a/lowercasing_test/src/tests/hello-world/dotest.sh +++ b/lowercasing_test/src/tests/hello-world/dotest.sh @@ -1,5 +1,6 @@ -#!/bin/sh +#!/bin/bash # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +set -e . ../../binref/env.sh diff --git a/lowercasing_test/src/tests/hello-world/hello-world_test.sh b/lowercasing_test/src/tests/hello-world/hello-world_test.sh index 8895f89feb3..f83dcbe2584 100755 --- a/lowercasing_test/src/tests/hello-world/hello-world_test.sh +++ b/lowercasing_test/src/tests/hello-world/hello-world_test.sh @@ -1,5 +1,5 @@ #!/bin/bash - +set -e . ../../binref/env.sh $BINREF/compilejava HelloWorldLocal.java sh dotest.sh diff --git a/lowercasing_test/src/tests/lowercasing/dotest.sh b/lowercasing_test/src/tests/lowercasing/dotest.sh index 73460c470be..943f35cee67 100755 --- a/lowercasing_test/src/tests/lowercasing/dotest.sh +++ b/lowercasing_test/src/tests/lowercasing/dotest.sh @@ -1,5 +1,6 @@ -#!/bin/sh +#!/bin/bash # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +set -e . ../../binref/env.sh diff --git a/lowercasing_test/src/tests/lowercasing/lowercasing_test.sh b/lowercasing_test/src/tests/lowercasing/lowercasing_test.sh index fc639ce970d..4985f6f86f7 100755 --- a/lowercasing_test/src/tests/lowercasing/lowercasing_test.sh +++ b/lowercasing_test/src/tests/lowercasing/lowercasing_test.sh @@ -1,5 +1,6 @@ #!/bin/bash +set -e . ../../binref/env.sh $BINREF/compilejava CasingVariants.java -sh dotest.sh +bash -e dotest.sh |