Lines Matching refs:example
2 # Makefile for the LCOV example program.
5 # - example: compile the example program
6 # - output: run test cases on example program and create HTML output
32 example: example.o iterate.o gauss.o
33 $(CC) example.o iterate.o gauss.o -o example -lgcov
35 example.o: example.c iterate.h gauss.h
36 $(CC) $(CFLAGS) -c example.c -o example.o
44 output: example descriptions test_noargs test_2_to_2000 test_overflow
51 --output-directory output --title "Basic example" \
63 all_tests: example test_noargs test_2_to_2000 test_overflow
68 @echo '* Test case 1: running ./example without parameters'
72 ./example
78 @echo '* Test case 2: running ./example 2 2000'
82 ./example 2 2000
88 @echo '* Test case 3: running ./example 0 100000 (causes an overflow)'
92 ./example 0 100000 || true
96 rm -rf *.o *.bb *.bbg *.da *.gcno *.gcda *.info output example \