Added tests and coverage for the rest of the command line switches

This commit is contained in:
Snaipe 2015-03-23 00:59:22 +01:00
parent 37639a00d2
commit bb944ffd41
4 changed files with 10 additions and 0 deletions

View file

@ -15,6 +15,9 @@ LDADD = -L$(top_srcdir)/ -lcriterion
SCRIPT_TESTS = tests/tap_test.sh \
tests/early_exit.sh \
tests/verbose.sh \
tests/list.sh \
tests/pattern.sh \
tests/fail_fast.sh \
tests/help.sh
EXTRA_DIST = $(SCRIPT_TESTS)

2
samples/tests/fail_fast.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
./simple --fail-fast --always-succeed

3
samples/tests/list.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
./simple --list
./simple --list --ascii

2
samples/tests/pattern.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
./simple --pattern '*/passing'