summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/test_duplicate_symbol.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/test_duplicate_symbol.sh')
-rwxr-xr-xbuildtools/wafsamba/test_duplicate_symbol.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/buildtools/wafsamba/test_duplicate_symbol.sh b/buildtools/wafsamba/test_duplicate_symbol.sh
new file mode 100755
index 0000000..dffac75
--- /dev/null
+++ b/buildtools/wafsamba/test_duplicate_symbol.sh
@@ -0,0 +1,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