diff options
Add a minimal test suite
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>
Diffstat (limited to 'test%252525252525253fid%252525252525253d31b4c71eb2610471cb0598338f510633f407477f%2525252525253fid%2525252525253dd34e6502e91e9a301ce6b1c023adc881dbfe889c%25252525253fid%25252525253dd34e6502e91e9a301ce6b1c023adc881dbfe889c&id2%25252525253d9cba56ac0ae9d8e6d58b8d5d645dfbca58321e0b%252525253fid%252525253dd34e6502e91e9a301ce6b1c023adc881dbfe889c&id2%252525253d9cba56ac0ae9d8e6d58b8d5d645dfbca58321e0b%2525253fid%2525253dd34e6502e91e9a301ce6b1c023adc881dbfe889c%25253fid%25253d9cba56ac0ae9d8e6d58b8d5d645dfbca58321e0b%253fid%253d9cba56ac0ae9d8e6d58b8d5d645dfbca58321e0b&id2%253de66e2d4277998094ee58ebd7c9455507df303939%3fid%3d9cba56ac0ae9d8e6d58b8d5d645dfbca58321e0b?id=e66e2d4277998094ee58ebd7c9455507df303939')
0 files changed, 0 insertions, 0 deletions