From bfe2e03d5ecddce1b9666a58a57e66078a737ea1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:44:55 +0200 Subject: Adding upstream version 0.14.1. Signed-off-by: Daniel Baumann --- buildtools/wafsamba/test_duplicate_symbol.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 buildtools/wafsamba/test_duplicate_symbol.sh (limited to 'buildtools/wafsamba/test_duplicate_symbol.sh') 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 -- cgit v1.2.3