mirror of https://github.com/OISF/suricata
testing: new test macros, new testing documentation group.
Unit testing support macros for failing on expressions, as well as passing tests on expressions. If fatal unittests are enabled BUG_ON will be triggered for an assertion providing the line number of the failure, otherwise the test will simply fail. Moved the fatal flag to a global var instead of a configuration parameter for ease of access from a macro.pull/1987/merge
parent
796dd5223b
commit
13cf2f829e
Loading…
Reference in New Issue