commit 03a38e48d3e8b555e55d5b2643dfdaf165ef5045 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Wed Jan 26 18:45:29 2022 +0100
autotest: use sub-string matching for test selection typing the full names is rather tedious when they get long. also, using sub-strings, we can match multiple tests with one argument. src/run-tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run-tests.pl b/src/run-tests.pl index f54f1dc4..128c20c3 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -789,7 +789,7 @@ sub test($$$$) { my ($ttl, $sx, $tx, $sfx) = @_; - return 0 if (scalar(@ARGV) && !grep { $_ eq $ttl } @ARGV); + return 0 if (scalar(@ARGV) && !grep { index($ttl, $_) >= 0 } @ARGV); print "Testing: ".$ttl." ...\n"; writecfg($sfx); _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel