blob: 18d7f9b8dae794f1455a8f1274e1ade4ae60efc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#! /bin/sh
set -e
# Smoke-test timestamp-abort as part of running "make check". Use the -s option
# to add a stress timing in checkpoint prepare.
default_test_args="-t 10 -T 5"
while getopts ":sb:" opt; do
case $opt in
s) default_test_args="$default_test_args -s" ;;
b) test_bin=$OPTARG ;;
esac
done
if [ -z "$test_bin" ]
then
# 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_bin=$top_builddir/test/csuite/test_timestamp_abort
fi
$TEST_WRAPPER $test_bin $default_test_args
#$TEST_WRAPPER $test_bin $default_test_args -L
$TEST_WRAPPER $test_bin -m $default_test_args
#$TEST_WRAPPER $test_bin -m $default_test_args -L
$TEST_WRAPPER $test_bin -C $default_test_args
$TEST_WRAPPER $test_bin -C -m $default_test_args
|