aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-09 20:20:57 +0800
committerMarcoFalke <falke.marco@gmail.com>2020-04-09 20:20:59 +0800
commit87374d80a71dee201c34292462fd1ce8553715ae (patch)
tree5b7d528d8ae72986937ee2141bd9187ef59b1bf1
parentdcef5ad6ec10bfea1ea00acf44d0182409c731f2 (diff)
parentfa5e973b4470246d517175b8ef05a2d13df157c3 (diff)
Merge #18566: test: Set -use_value_profile=1 when merging fuzz inputs
fa5e973b4470246d517175b8ef05a2d13df157c3 test: Set -use_value_profile=1 when merging fuzz inputs (MarcoFalke) Pull request description: ACKs for top commit: practicalswift: ACK fa5e973b4470246d517175b8ef05a2d13df157c3 Tree-SHA512: 4fdf92c137a5f771240ceb35c5a0c0033b1c334455cff83af333eedffe6a636e88c358ec7b7b9141b230b50f03de7c894fae406494a85bd7f6a9147a6d57dd7f
-rwxr-xr-xtest/fuzz/test_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/test_runner.py b/test/fuzz/test_runner.py
index bb93060739..87f4255a6f 100755
--- a/test/fuzz/test_runner.py
+++ b/test/fuzz/test_runner.py
@@ -147,6 +147,7 @@ def merge_inputs(*, corpus, test_list, build_dir, merge_dir):
args = [
os.path.join(build_dir, 'src', 'test', 'fuzz', t),
'-merge=1',
+ '-use_value_profile=1', # Also done by oss-fuzz https://github.com/google/oss-fuzz/issues/1406#issuecomment-387790487
os.path.join(corpus, t),
os.path.join(merge_dir, t),
]