summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/test_duplicate_symbol.sh
blob: dffac75700220d03ee314e6fadb3a6b016102cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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