selftest: Run waf build --dup-symbol-check under $PYTHON
authorAndrew Bartlett <abartlet@samba.org>
Wed, 12 Dec 2018 04:08:21 +0000 (17:08 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 13 Dec 2018 00:49:30 +0000 (01:49 +0100)
This would often be python3 in the new build

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
buildtools/wafsamba/test_duplicate_symbol.sh

index 89a4027..46f44a6 100755 (executable)
@@ -5,7 +5,7 @@
 
 subunit_start_test duplicate_symbols
 
-if ./buildtools/bin/waf build --dup-symbol-check; then
+if $PYTHON ./buildtools/bin/waf build --dup-symbol-check; then
        subunit_pass_test duplicate_symbols
 else
        echo | subunit_fail_test duplicate_symbols