Skip to content

Commit

Permalink
setup-app-layer: support tests in tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Sep 19, 2018
1 parent 7ec7d85 commit 0b5a2ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/setup-app-layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ def detect_copy_templates(proto, buffername, rust):
"src/detect-%s-%s.h" % (lower, buffername_lower)),
("src/detect-template-buffer.c",
"src/detect-%s-%s.c" % (lower, buffername_lower)),
("src/tests/detect-template-buffer.c",
"src/tests/detect-%s-%s.c" % (lower, buffername_lower)),
)
replacements = (
("TEMPLATE_BUFFER", "%s_%s" % (proto.upper(), buffername.upper())),
Expand Down

0 comments on commit 0b5a2ab

Please sign in to comment.