1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/buildtools/wafsamba/test_duplicate_symbol.sh
Stefan Metzmacher a6b1e4b576 wafsamba: let test_duplicate_symbol.sh export PYTHONHASHSEED=1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-03-29 22:32:32 +00:00

16 lines
332 B
Bash
Executable File

#!/bin/sh
# Run the waf duplicate symbol check, wrapped in subunit.
. testprogs/blackbox/subunit.sh
subunit_start_test duplicate_symbols
PYTHONHASHSEED=1
export PYTHONHASHSEED
if $PYTHON ./buildtools/bin/waf build --dup-symbol-check; then
subunit_pass_test duplicate_symbols
else
echo | subunit_fail_test duplicate_symbols
fi