Actions
Feature #797
closed
EL
EL
Dynamic test on flag usage
Feature #797:
Dynamic test on flag usage
Effort:
Difficulty:
Label:
Description
The idea is to generalized: https://github.com/inliniac/suricata/pull/341
By adding some comments in the code, we will trigger the creation of a test checking the correct usage of flag for a given structure. For example, we could add before the declaration of flag:
This would result in creating a block of tests in a dynamically generated cocci file that would be put in the qa/coccinelle directory:
The script searching for the entry will be called by 'make check' previously to the run of cocci test.
Actions