Introduce a new "test/" sub-directory that contains tests for calcurse. Right now, it only includes the quick-and-dirty "run-test" helper that can be used to run and verify tests: $ ./run-test test-1 test-2 test-3 test-4 Running test-1... ok Running test-2... ok Running test-3... FAIL Each argument passed to run-test must be a test script located in the current directory. run-test invokes each script twice and passes the command line argument "expected" and "actual", respectively. A test case succeeds if both "expected" and "actual" instances return with a zero exit status and produce exactly the same output. It fails otherwise. run-test terminates with a non-zero exit status as soon as one of the test fails. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
38 lines
325 B
Plaintext
38 lines
325 B
Plaintext
ABOUT-NLS
|
|
|
|
Makefile
|
|
Makefile.in
|
|
Makefile.in.in
|
|
Makevars
|
|
aclocal.m4
|
|
configure
|
|
depcomp
|
|
install-sh
|
|
missing
|
|
stamp-h1
|
|
.version
|
|
autom4te.cache/
|
|
m4/
|
|
|
|
./config.*
|
|
|
|
doc/*.1
|
|
doc/*.html
|
|
doc/*.pdf
|
|
|
|
po/*~
|
|
po/*.gmo
|
|
po/*.header
|
|
po/*.sin
|
|
po/*.sed
|
|
po/POTFILES
|
|
po/Rules-quot
|
|
po/stamp-po
|
|
|
|
src/*.o
|
|
src/.deps/
|
|
src/calcurse
|
|
|
|
test/*.o
|
|
test/run-test
|