1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/buildtools/wafsamba/test_duplicate_symbol.sh
Andrew Bartlett a42f18cc3e selftest: Run waf build --dup-symbol-check under $PYTHON
This would often be python3 in the new build

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
2018-12-13 01:49:30 +01:00

13 lines
292 B
Bash
Executable File

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