This is built close to the code it tests in lib/replace/wscript_build as
replace_testsuite.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
deps='replace',
cflags=replace_test_cflags)
- if bld.env.standalone_replace:
- bld.SAMBA_BINARY('replace_testsuite',
- source='test/main.c',
- deps='replace replace-test',
- install=False)
+ bld.SAMBA_BINARY('replace_testsuite',
+ source='test/main.c',
+ deps='replace replace-test',
+ install=False)
# build replacements for stdint.h and stdbool.h if needed
bld.SAMBA_GENERATOR('replace_stdint_h',
echo "Skipping talloctort"
fi
-testit "replacetort" $VALGRIND $BINDIR/replacetort || \
+testit "replace_testsuite" $VALGRIND $BINDIR/replace_testsuite || \
failed=`expr $failed + 1`
if test -x bin/tdbtorture ; then
''',
install=False)
-bld.SAMBA3_BINARY('replacetort',
- source='../lib/replace/test/main.c',
- deps='replace replace-test',
- install=False)
-
bld.SAMBA3_BINARY('msgtest',
source='torture/msgtest.c',
deps='''