diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2014-10-12 17:48:10 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-10-14 06:44:07 +0200 |
commit | c7b6897b80e724023c3b092d086ab574bff564e1 (patch) | |
tree | 3e84de488ee64f683a4c30b21f2197572d4b10c0 /buildtools | |
parent | d9458aa2d9be1ddd7c6d6edd993e12973195e307 (diff) | |
download | samba-c7b6897b80e724023c3b092d086ab574bff564e1.tar.gz samba-c7b6897b80e724023c3b092d086ab574bff564e1.tar.xz samba-c7b6897b80e724023c3b092d086ab574bff564e1.zip |
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
Diffstat (limited to 'buildtools')
-rwxr-xr-x | buildtools/wafsamba/test_duplicate_symbol.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/buildtools/wafsamba/test_duplicate_symbol.sh b/buildtools/wafsamba/test_duplicate_symbol.sh new file mode 100755 index 0000000000..712c7e6360 --- /dev/null +++ b/buildtools/wafsamba/test_duplicate_symbol.sh @@ -0,0 +1,12 @@ +#!/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 |