diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 20:12:16 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:48 +1000 |
commit | 844acb226086e55de9a2442396a4e002471295e8 (patch) | |
tree | f84eef86a64b5f1c34f44999bea6b1913d47e864 /source4/selftest/wscript | |
parent | 845e0cbe6f43e2762796c644035ac6bc2b07cf17 (diff) | |
download | samba-844acb226086e55de9a2442396a4e002471295e8.tar.gz samba-844acb226086e55de9a2442396a4e002471295e8.tar.bz2 samba-844acb226086e55de9a2442396a4e002471295e8.zip |
build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
Diffstat (limited to 'source4/selftest/wscript')
-rw-r--r-- | source4/selftest/wscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript index 8327838366..d271ce783c 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -1,5 +1,7 @@ # selftest main code. +import Scripting, os + ######################################################################## # main test entry point def cmd_test(opt): @@ -11,8 +13,10 @@ def cmd_test(opt): def cmd_quicktest(opt): '''Run the quick test suite''' print "Starting quick test" + #Scripting.commands += ['build'] + SELFTEST = 'PYTHON=/usr/bin/python perl -W ../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="./selftest/tests.sh|" --exclude=./selftest/slow --quick --include=./selftest/quick --socket-wrapper | perl -W ../selftest/filter-subunit.pl --expected-failures=./selftest/knownfail | /usr/bin/perl -W ../selftest/format-subunit.pl --prefix=./st --format=plain --immediate' + ret = os.system(SELFTEST) def set_options(opt): opt.ADD_COMMAND('test', cmd_test) opt.ADD_COMMAND('quicktest', cmd_quicktest) - |