1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/buildtools/wafsamba/test_duplicate_symbol.sh
Jelmer Vernooij ef2c6d0d57 test_duplicate_symbol: Use Samba subunit emitter.
Change-Id: I280495706ff460674244183103306ca717c419a8
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-03-06 04:41:47 +01:00

13 lines
284 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 ./buildtools/bin/waf build --dup-symbol-check; then
subunit_pass_test duplicate_symbols
else
echo | subunit_fail_test duplicate_symbols
fi