summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 5035af8f..807da64a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -8,6 +8,7 @@ all: $(TESTS) run_unittests breakpoints
clean:
rm -f $(TESTS) person.pb* *.o *.gcda *.gcno
+%.o: %.c
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -c -o $@ $<
@@ -44,4 +45,4 @@ run_unittests: decode_unittests encode_unittests test_encode1 test_decode1
"`./test_encode1 | protoc --decode=Person -I. -I../generator -I/usr/include person.proto`" ]
run_fuzztest: test_decode1
- bash -c '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
+ bash -c 'I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$$(($$I+1)); echo -en "\r$$I"; done'