Project

General

Profile

Actions

Optimization #4795

closed
JF JF

Remove PASS_IF macro from the FAIL/PASS API

Optimization #4795: Remove PASS_IF macro from the FAIL/PASS API

Added by Juliana Fajardini Reichow over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:
C

Description

According to the discussion in this PR https://github.com/OISF/suricata/pull/5485
it was agreed that having a PASS_IF macro could lead to unittests checks that would
not have the PASS as the final call, or to the test-writing logic having to be reverted
to write the PASS_IF, after all the FAIL_IF checks.

Adding a ticket to keep this well documented/tracked.


Related issues 1 (0 open1 closed)

Related to Suricata - Optimization #4066: Add a PASS_IF_NULL macro to the FAIL/PASS APIClosedJanani RamjeeActions

JF Updated by Juliana Fajardini Reichow over 4 years ago Actions #1

JF Updated by Juliana Fajardini Reichow over 4 years ago Actions #2

  • Status changed from In Progress to In Review

JF Updated by Juliana Fajardini Reichow over 4 years ago Actions #3

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom