1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

ctdb-build: Use correct path variables for ctdb_run_tests.sh

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2014-06-23 15:48:37 +10:00 committed by Martin Schwenke
parent 4f6d668cfa
commit a0d207001a

View File

@ -488,7 +488,7 @@ def build(bld):
rule='sed -e "%s" ${SRC} > ${TGT}' % sed_expr)
sed_expr1 = 's@^test_dir=.*@test_dir=%s\\nexport TEST_BIN_DIR=\"%s\"@' % (
bld.env.CTDB_DATA_DIR, bld.env.CTDB_LIBDIR)
bld.env.CTDB_TEST_DATADIR, bld.env.CTDB_TEST_LIBDIR)
sed_expr2 = 's@^\(export CTDB_TESTS_ARE_INSTALLED\)=false@\1=true@'
bld.SAMBA_GENERATOR('ctdb-test-runner',
source='tests/run_tests.sh',