mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
436 B
Python
15 lines
436 B
Python
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import subprocess
|
|
|
|
# RUSTC_WRAPPER to disable coverage for external crates
|
|
# and so save disk space when running suricata-verify with many profraw files
|
|
if len(sys.argv) > 4 and sys.argv[2] == '--crate-name' and not sys.argv[3].startswith("suricata"):
|
|
try:
|
|
sys.argv.remove("-Cinstrument-coverage")
|
|
except:
|
|
pass
|
|
result = subprocess.run(sys.argv[1:])
|
|
sys.exit(result.returncode)
|