Actions
Feature #3082
open
VJ
SB
suricata-verify: option to test 'skipped' tests
Feature #3082:
suricata-verify: option to test 'skipped' tests
Effort:
Difficulty:
Label:
Python
Description
Now that the number of tests is growing a new issue appears: which of the http evader tests are supposed to no longer be skipped after the last merges? We can try declaring HTTP_EVADER_OK and see which tests pass, but then we'd have to correlate that with the list of skipped tests if HTTP_EVADER_OK is not declared. Quite cumbersome.
So my suggestion is to add a way to check this. Run suricata-verify with an option to try tests with a skip condition anyway.
Something like:
run.py --test-skip HTTP_EVADER_OK
This would then only run those tests that have HTTP_EVADER_OK in their requires and would output something like:
===> http-evader-447: FAILED requires HTTP_EVADER_OK, so considering OK ===> http-evader-448: OK - is requires HTTP_EVADER_OK needed? .. PASSED: 1368 FAILED: 0 SKIPPED: 149 SKIPPED OK: 1 SKIPPED FAIL: 1
This would then make it clear which of the tests needs to be updated.
Actions