1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/buildtools/wafsamba/test_duplicate_symbol.sh
Jelmer Vernooij c7b6897b80 Run duplicate symbol check as just another test, rather than as part of "waf test".
This allows it to be scheduled independently as part of a parallel test
run, and reduces the overhead of "waf test".

Change-Id: I780fd2c4dd711ed27df73f56de98e7f1ffd53aaf
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10875
2014-10-14 06:44:07 +02:00

13 lines
289 B
Bash
Executable File

#!/bin/sh
# Run the waf duplicate symbol check, wrapped in subunit.
. lib/subunit/shell/share/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