Split some tests out into database/ and failover/ subdirectories.
Rename the remaining tests in simple/.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
*/*/*)
die "test \"$f\" is not recognised"
;;
- */*|simple)
+ */*)
# This is a test suite
subtests=$(echo "${f%/}/"*".sh")
if [ "$subtests" = "${f%/}/*.sh" ] ; then
die "test \"$f\" is not recognised"
fi
;;
- CLUSTER|UNIT)
+ CLUSTER|INTEGRATION|UNIT)
# A collection of test suites
subtests=$(echo "${f%/}/"*)
;;
# If no tests specified then run some defaults
if [ -z "$1" ] ; then
if [ -n "$TEST_LOCAL_DAEMONS" ] ; then
- set -- UNIT simple
+ set -- UNIT INTEGRATION
else
- set -- simple CLUSTER
+ set -- INTEGRATION CLUSTER
fi
fi
test_subdirs = [
'CLUSTER',
+ 'INTEGRATION',
'UNIT',
- 'etc-ctdb',
- 'simple'
+ 'etc-ctdb'
]
if bld.env.standalone_ctdb: