Jelmer Vernooij
afe94aa535
Re-use add_prefix function.
...
Change-Id: I6e91bc9fc6714c147427e920ca0e3e22cb9a076b
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-30 14:22:05 +01:00
Jelmer Vernooij
f6e3cd7f03
selftest: Drop support for TESTSUITE-IDLIST, and remove its last user.
...
Change-Id: Ic616676bb770fa4769195d73c4309915646caae0
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-30 14:22:05 +01:00
Jelmer Vernooij
2c67d55614
Include mimeparse, which is used by subunit/testtools.
...
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
2014-11-22 04:44:11 +01:00
Jelmer Vernooij
0c2c75a2d7
filter-subunit: Drop support for allow_empty_output hack.
...
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
2014-10-14 09:06:05 +02:00
Jelmer Vernooij
bbaa739bbd
Remove remaining instance of pep8 E211 (too many spaces before operator).
...
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Change-Id: I9af3bf582bba8fc1094addb12cd0a5ce04406b5b
2014-10-14 06:44:06 +02:00
Andrew Bartlett
233e3c9631
selftest: Remove print_smbtorture4_version and smbtorture4_possible check
...
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
2014-03-26 04:20:16 +01:00
Jelmer Vernooij
a7b8d0260a
source3.selftest: Move last variables to selftesthelpers.
...
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
2012-10-27 19:08:41 +02:00
Jelmer Vernooij
66980989e5
source3.selftest: Move more variables to be in common.
2012-10-27 07:01:10 -08:00
Jelmer Vernooij
1326992358
selftesthelpers: Fix detection of tap2subunit.
...
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
2012-10-27 16:57:49 +02:00
Jelmer Vernooij
05dc5a39a6
selftesthelpers: Simplify detection of tap2subunit.
2012-10-27 05:16:19 -08:00
Jelmer Vernooij
58345820c0
selftesthelpers: Add function for printing smbtorture4 version.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
8237e2727d
selftest: Move determining of smbtorture4 options to selftesthelpers.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
fcb7926ce5
selftest/selftesthelpers: Share environment handling for extra smbtorture options.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
6bcb25673b
selftest/selftesthelpers.py: Share configuration variable, strip whitespace.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
4c4d3c86f0
selftesthelpers: Share code for listing smbtorture4 tests.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
ff82afb1f8
selftest: Move more tests to common list script.
...
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
2012-10-12 02:06:41 +02:00
Andrew Bartlett
0cb0427f13
selftest: Place the test environment at the end of the failure lines
...
This allows a knownfail entry to be added for only one environment, rather than
all environments.
Andrew Bartlett
2012-04-27 14:51:05 +02:00
Andrew Bartlett
eecf2ac4c8
selftest: Remove unused support for --exeext
2012-02-01 02:45:07 +01:00
Jelmer Vernooij
1caa3b8eae
selftesthelpers: write warnings to stderr rather than stdout.
2011-11-30 22:58:04 +01:00
Jelmer Vernooij
042f3fe5f6
selftesthelpers: Revert perl changes, add comment on why the original code was necessary.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
38495995c9
selftesthelpers: Cope with empty binary mappings list, simplify handling of perl.
2011-11-14 15:49:36 +01:00
Stefan Metzmacher
b4428d771f
selftest/selftesthelpers.py: construct a fullname with env in plantestsuite_idlist()
...
Like we already do for plantestsuite_loadlist()
metze
2011-11-14 14:11:28 +01:00
Stefan Metzmacher
77c73f1d92
selftest: planpythontestsuite() should fill 'name' is it's None
...
Otherwise make test shows tests with name "None".
metze
2011-11-14 14:11:28 +01:00
Jelmer Vernooij
e0b8af57c4
selftesthelpers: Fix syntax error.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
8ea8683f72
selftest: Allow passing arbitrary number of additional python path values.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
d84ba4fc0a
selftest: re-implement directory option for planpythontestsuite.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
f5d3e45722
Revert "test: added directory option to planpythontestsuite()"
...
This reverts commit b0be72d508
.
I'll add an alternative that uses subunit.run.
2011-11-10 23:37:04 +01:00
Andrew Tridgell
b0be72d508
test: added directory option to planpythontestsuite()
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Andrew Bartlett
48bb69ef00
selftest: Start using the binary mapping at the python layer as well
2011-04-16 11:43:04 +02:00
Andrew Bartlett
4fd6ebf544
selftest: Remove duplication between BUILDIR and BINDIR
...
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Andrew Bartlett
831955ddf2
selftest: Provide a single bindir_path function across all targets
...
This will allow a mapping to be made between things like smbtorture4
-> smbtorture that is correct for the different build environments.
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Andrew Bartlett
0b066b88df
selftest split $PERL into multiple arguments for Test::More check
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a056792294
selftest move selftesthelpers to a top level helper script
2011-02-22 16:20:09 +11:00