summaryrefslogtreecommitdiffstats
path: root/selftest/selftesthelpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Add basic tap2subunit converter, rather than relying on the one from ↵Jelmer Vernooij2015-03-061-23/+5
| | | | | | | | subunit-tools. Change-Id: I39ec5ec68c7c3c9d329d8f1a8ce01445b85c7ab8 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Use samba.subunit.run to run subunit tests.Jelmer Vernooij2015-03-061-14/+1
| | | | | | Change-Id: Id9bdd33b7ac5e4db40ab8bef4dbe0f04c36d8da7 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Be consistent about what functions add $LISTOPT and $LOADLIST to the ↵Jelmer Vernooij2014-11-301-4/+6
| | | | | | | | | | | command-line. Change-Id: Ife86624b53a99d48ce9f00d146b14f798c9bdb24 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Nov 30 16:43:52 CET 2014 on sn-devel-104
* selftest: Add separate command line for listing tests, allowing us of ↵Jelmer Vernooij2014-11-301-4/+15
| | | | | | | | subunit-filter (which doesn't support subunit v2). Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Re-use add_prefix function.Jelmer Vernooij2014-11-301-7/+1
| | | | | | Change-Id: I6e91bc9fc6714c147427e920ca0e3e22cb9a076b Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Drop support for TESTSUITE-IDLIST, and remove its last user.Jelmer Vernooij2014-11-301-15/+2
| | | | | | Change-Id: Ic616676bb770fa4769195d73c4309915646caae0 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Include mimeparse, which is used by subunit/testtools.Jelmer Vernooij2014-11-221-3/+7
| | | | | | | | | Change-Id: I984c82acc0bc82a165e8ea17d8948c465c786905 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Nov 22 04:44:11 CET 2014 on sn-devel-104
* filter-subunit: Drop support for allow_empty_output hack.Jelmer Vernooij2014-10-141-6/+2
| | | | | | | | | Change-Id: If4f336ef770202dcf69484b9bccc6c0c80bd5f9b Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 14 09:06:05 CEST 2014 on sn-devel-104
* Remove remaining instance of pep8 E211 (too many spaces before operator).Jelmer Vernooij2014-10-141-1/+0
| | | | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I9af3bf582bba8fc1094addb12cd0a5ce04406b5b
* selftest: Remove print_smbtorture4_version and smbtorture4_possible checkAndrew Bartlett2014-03-261-15/+0
| | | | | | | | | | | | | smbtorture is now always the same version as the rest of Samba, and is strictly required. Andrew Bartlett Change-Id: I89d9c52275477177fa8a89050920ff8a2fec9288 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Mar 26 04:20:16 CET 2014 on sn-devel-104
* source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij2012-10-271-0/+5
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
* source3.selftest: Move more variables to be in common.Jelmer Vernooij2012-10-271-0/+10
|
* selftesthelpers: Fix detection of tap2subunit.Jelmer Vernooij2012-10-271-2/+8
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
* selftesthelpers: Simplify detection of tap2subunit.Jelmer Vernooij2012-10-271-4/+6
|
* selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij2012-10-271-1/+11
|
* selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij2012-10-271-12/+18
|
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-271-0/+11
| | | | options.
* selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij2012-10-271-0/+2
|
* selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij2012-10-271-0/+13
|
* selftest: Move more tests to common list script.Jelmer Vernooij2012-10-121-0/+6
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
* selftest: Place the test environment at the end of the failure linesAndrew Bartlett2012-04-271-5/+5
| | | | | | | This allows a knownfail entry to be added for only one environment, rather than all environments. Andrew Bartlett
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-011-1/+1
|
* selftesthelpers: write warnings to stderr rather than stdout.Jelmer Vernooij2011-11-301-2/+3
|
* selftesthelpers: Revert perl changes, add comment on why the original code ↵Jelmer Vernooij2011-11-141-3/+4
| | | | was necessary.
* selftesthelpers: Cope with empty binary mappings list, simplify handling of ↵Jelmer Vernooij2011-11-141-5/+7
| | | | perl.
* selftest/selftesthelpers.py: construct a fullname with env in ↵Stefan Metzmacher2011-11-141-1/+5
| | | | | | | | plantestsuite_idlist() Like we already do for plantestsuite_loadlist() metze
* selftest: planpythontestsuite() should fill 'name' is it's NoneStefan Metzmacher2011-11-141-0/+2
| | | | | | Otherwise make test shows tests with name "None". metze
* selftesthelpers: Fix syntax error.Jelmer Vernooij2011-11-101-1/+1
|
* selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij2011-11-101-4/+2
|
* selftest: re-implement directory option for planpythontestsuite.Jelmer Vernooij2011-11-101-7/+11
|
* Revert "test: added directory option to planpythontestsuite()"Jelmer Vernooij2011-11-101-12/+5
| | | | | | This reverts commit b0be72d5080aed3da3f33a45b72f88e90fbe3d13. I'll add an alternative that uses subunit.run.
* test: added directory option to planpythontestsuite()Andrew Tridgell2011-11-101-5/+12
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett2011-04-161-0/+10
|
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-161-1/+1
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* selftest: Provide a single bindir_path function across all targetsAndrew Bartlett2011-04-161-2/+2
| | | | | | | This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett
* selftest split $PERL into multiple arguments for Test::More checkAndrew Bartlett2011-02-221-2/+3
|
* selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2011-02-221-0/+156