summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-07-27 20:01:50 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-07-27 20:01:50 +0000
commit42e5fcc0bee38d183e1d00b4cecb1a5c831ed601 (patch)
tree820a95571d653278b33a0352d7df18a5954f21c7 /tests/Makefile
parentead3b734d8f96837ea6564b694df5618134e3cf8 (diff)
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@945 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index da4030e2..3053fa4a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -9,3 +9,5 @@ clean:
test_decode1: test_decode1.c $(DEPS)
$(CC) $(CFLAGS) -o $@ $< ../pb_decode.c
+fuzztest: test_decode1
+ I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$(($I+1)); echo -en "\r$I"; done \ No newline at end of file