From 99a506a5d477ecb22db4675a22dc0f0ca30200c6 Mon Sep 17 00:00:00 2001 From: hulkoba Date: Mon, 18 Dec 2023 08:52:03 +0100 Subject: [PATCH] chore: create artifacts dir on run --- .gitignore | 2 +- package.json | 2 +- test/fuzz/reports/.gitkeep | 0 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 test/fuzz/reports/.gitkeep diff --git a/.gitignore b/.gitignore index 65730d87d6..fc7d985408 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ test/typescript/definitions.js dist/ openpgp.store/ coverage -test/fuzz/reports +test/fuzz/artifacts diff --git a/package.json b/package.json index e0fdf3e206..5009704201 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "prepare": "npm run build", "test": "mocha --timeout 120000 test/unittests.js", "test-type-definitions": "node --loader ts-node/esm test/typescript/definitions.ts", - "fuzz": "jazzer test/fuzz/$TARGET -- -artifact_prefix=test/fuzz/reports/", + "fuzz": "mkdir -p test/fuzz/artifacts && jazzer test/fuzz/$TARGET -- -artifact_prefix=test/fuzz/artifacts/, print_final_stats=1", "benchmark-time": "node test/benchmarks/time.js", "benchmark-memory-usage": "node test/benchmarks/memory_usage.js", "start": "http-server", diff --git a/test/fuzz/reports/.gitkeep b/test/fuzz/reports/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000