summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-06-28 15:11:27 +0200
committerPatrick Steinhardt <ps@pks.im>2019-07-20 19:10:10 +0200
commit86ecd6008da3b0b0baa0833fd8932e91994a9f9b (patch)
tree5c4de367032113d41d2dbf0e6513686720ce8735 /ci
parent1f44079cae42864cb51d98ca57f5d1f4d8296693 (diff)
downloadlibgit2-86ecd6008da3b0b0baa0833fd8932e91994a9f9b.tar.gz
fuzzers: provide test targets
Instead of having to find the fuzzer executables in our Azure test scripts, provide test targets for each of our fuzzers that will run them with the correct paths.
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/test.sh b/ci/test.sh
index 9e12f53c3..cbc3925a9 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -256,9 +256,7 @@ if [ -z "$SKIP_FUZZERS" ]; then
echo "## Running fuzzers"
echo "##############################################################################"
- for fuzzer in fuzzers/*_fuzzer; do
- "${fuzzer}" "${SOURCE_DIR}/fuzzers/corpora/$(basename "${fuzzer%_fuzzer}")" || failure
- done
+ ctest -V -R 'fuzzer'
fi
cleanup