Added tests and coverage for the rest of the command line switches
This commit is contained in:
parent
37639a00d2
commit
bb944ffd41
4 changed files with 10 additions and 0 deletions
|
@ -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
2
samples/tests/fail_fast.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
./simple --fail-fast --always-succeed
|
3
samples/tests/list.sh
Executable file
3
samples/tests/list.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
./simple --list
|
||||
./simple --list --ascii
|
2
samples/tests/pattern.sh
Executable file
2
samples/tests/pattern.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
./simple --pattern '*/passing'
|
Loading…
Add table
Reference in a new issue