summaryrefslogtreecommitdiff
path: root/selftest/wscript
AgeCommit message (Collapse)AuthorFilesLines
2012-02-10build: Add --enable-coverage option to build with gcov supportAndrew Bartlett1-0/+7
This allows running lcov over the output. Andrew Bartlett
2012-02-03selftest: Fix the exit code of make test when run in buildfarmAmitay Isaacs1-0/+2
When make test is run in buildfarm environment (RUN_FROM_BUILD_FARM=1), last process in make test pipeline is subunit-filter. This subunit-filter is responsible for converting failure test result to xfail for known failures. While converting failures to xfail, it sets exitcode=1. If this is the last process in the pipeline make test fails, which is the observed behavior in buildfarm. In autobuild, there is additional process in the pipeline format-subunit which processes the output of subunit-filter and correctly terminates with exit code=0. The buildfarm make test failure is fixed by adding extra filter-subunit in the pipeline, as the extra filter-subunit exits correctly with exit code=0. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Feb 3 07:00:04 CET 2012 on sn-devel-104
2012-01-13selftest: Do not run symbol check if setting up testenvAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 13 03:11:20 CET 2012 on sn-devel-104
2011-12-05selftest: Add --flapping argument to filter-subunit.Jelmer Vernooij1-1/+1
2011-12-05selftest: Split out flapping tests into a separate file.Jelmer Vernooij1-1/+1
2011-11-30selftest: Don't generate subunit file when writing subunit to stdout.Jelmer Vernooij1-5/+3
2011-11-30selftest: Prevent error about unfinished test command when using --list.Jelmer Vernooij1-1/+1
2011-11-30selftest: Don't use fancy subunit formatters when generating a test list.Jelmer Vernooij1-8/+11
2011-11-10build: only run symbol checking if running all testsAndrew Tridgell1-0/+7
this makes it much faster to run 1 test Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-10-28selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett1-26/+4
Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest) is not an error, so just combine the lists. This is being done because some folks trying to learn how our 'make test' works are having trouble following the distributed nature of the selftest system. Andrew Bartlett
2011-10-28selftest: Remove --target option and the ability to run 'samba4 only' testsAndrew Bartlett1-25/+12
This simplifies the selftest system, and by default we always tested all of samba3 and samba4 in the waf build. This simply removes a rarely used option for testing only part of the system. The make test TESTS="^samba3" syntax remains unchanged, so no functionality is lost. Andrew Bartlett
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell1-0/+3
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-09build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett1-3/+1
This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
2011-04-30selftest: use env.SELFTEST_PREFIX instead of hardcoded "${srcdir}/st"Stefan Metzmacher1-1/+1
metze
2011-04-28selftest: Make combined test the default when s3build is enabledAndrew Bartlett1-0/+2
2011-04-28selftest: Fix combination of Samba3 and Samba4 test listsAndrew Bartlett1-10/+25
The previous code was too subtle, and tried to filter via two xfail scripts. The --fail-immediately for the source3 knownfail would then fail samba4 know failures. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-19selftest: Add hooks to enable a combined selftest run.Andrew Bartlett1-1/+12
Andrew Bartlett
2011-04-19selftest Add combined 'Samba' target moduleAndrew Bartlett1-2/+0
To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
2011-04-16selftest: Allow the top level build to run the samba4 or samba3 testsAndrew Bartlett1-17/+33
This is selected with for example ./buildtools/bin/waf test --target=samba3 Andrew Bartlett
2011-04-16selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett1-0/+201