2
0
mirror of https://github.com/boostorg/locale.git synced 2026-01-19 04:22:08 +00:00

Fuzzing: Add quoting and dependency on script

This commit is contained in:
Alexander Grund
2025-01-15 16:09:02 +01:00
parent 325da03250
commit bd9eab2870

View File

@@ -30,7 +30,7 @@ rule make-corpus ( target : sources + : properties * )
} }
actions make-corpus actions make-corpus
{ {
"$(PYTHON:E=python)" "$(RUNNER)" $(<) $(>) "$(PYTHON:E=python)" "$(RUNNER)" "$(<)" "$(>)"
} }
toolset.flags $(__name__).make-corpus PYTHON <python.interpreter> ; toolset.flags $(__name__).make-corpus PYTHON <python.interpreter> ;
@@ -43,7 +43,7 @@ for local fuzzer in $(all_fuzzers)
local seed_files = [ glob "$(seed_corpus)/*" ] ; local seed_files = [ glob "$(seed_corpus)/*" ] ;
# Create the output corpus directories # Create the output corpus directories
make $(corpus) : $(seed_files) : make-corpus ; make $(corpus) : $(seed_files) : make-corpus : <dependency>$(.make-corpus-script) ;
make $(min_corpus) : : common.MkDir ; make $(min_corpus) : : common.MkDir ;
# Build the fuzzer # Build the fuzzer