diff options
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh')
-rwxr-xr-x | src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh b/src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh index e36ad62dd8b..713b000b4f1 100755 --- a/src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh +++ b/src/third_party/wiredtiger/test/csuite/random_abort/smoke.sh @@ -4,7 +4,12 @@ set -e # Smoke-test random-abort as part of running "make check". -$TEST_WRAPPER ./test_random_abort -t 10 -T 5 -$TEST_WRAPPER ./test_random_abort -m -t 10 -T 5 -$TEST_WRAPPER ./test_random_abort -C -t 10 -T 5 -$TEST_WRAPPER ./test_random_abort -C -m -t 10 -T 5 +# If $top_builddir/$top_srcdir aren't set, default to building in build_posix +# and running in test/csuite. +top_builddir=${top_builddir:-../../build_posix} +top_srcdir=${top_srcdir:-../..} + +$TEST_WRAPPER $top_builddir/test/csuite/test_random_abort -t 10 -T 5 +$TEST_WRAPPER $top_builddir/test/csuite/test_random_abort -m -t 10 -T 5 +$TEST_WRAPPER $top_builddir/test/csuite/test_random_abort -C -t 10 -T 5 +$TEST_WRAPPER $top_builddir/test/csuite/test_random_abort -C -m -t 10 -T 5 |