diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-01 13:14:41 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-01 17:10:23 +0000 |
commit | c11d665dab975691024f9231ad93c65bef7e5df4 (patch) | |
tree | ac2a5701c6511c08266c4fb122e71a481a73bfc2 /test/runtest | |
parent | adf73d3717be93cdbbb38c7e2e4bb0531d1cca27 (diff) |
Feature macros, show-supported and build-time selection for malware interfaces
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest index d0de8622e..5671fead2 100755 --- a/test/runtest +++ b/test/runtest @@ -1158,6 +1158,7 @@ RESET_AFTER_EXTRA_LINE_READ: /^Support for:/ || /^Routers:/ || /^Transports:/ || + /^Malware:/ || /^log selectors =/ || /^cwd=/ || /^Fixed never_users:/ || @@ -2840,6 +2841,15 @@ while (<EXIMINFO>) } } } + + elsif (/^Malware: (.*)/) + { + print; + @temp = split /(\s+)/, $1; + push(@temp, ' '); + %parm_malware = @temp; + } + } close(EXIMINFO); print "-" x 78, "\n"; @@ -3510,6 +3520,10 @@ DIR: for (my $i = 0; $i < @test_dirs; $i++) { if (!defined $parm_transports{$1}) { $wantthis = 0; last; } } + elsif (/^malware (.*)$/) + { + if (!defined $parm_malware{$1}) { $wantthis = 0; last; } + } else { tests_exit(-1, "Unknown line in \"scripts/$testdir/REQUIRES\": \"$_\""); |