Michael Klement
deb77cb5de
Various bug fixes and cleanup.
...
* bug fixes:
* fixed directory-existence argument check
* fixed how `.urchin_stdout` files are cleaned up
* fixed instances of error/warning messages outputting to stdout instead of stderr
* documentation, help and error-message improvements:
* added specific error message if the (non-option) argument is not a directory
* improved wording of CLI help
* readme.md: replaced obsolete URL http://www.urchin.sh with https://github.com/scraperwiki/urchin
* readme.md: made the fact clearer that `./cross-shell-tests` only tests urchin's _own_ cross-shell compatibility
* HISTORY: fixed typo
* formatting and logging improvements:
* added timestamp to the beginning of log files (`.urchin.log`)
* captured output from failed tests is now printed in *red* to draw attention
* test summary now prints the number of failed tests in the appropriate color for instant feedback (green, if none failed; red, otherwise)
* cleanup
* removed unused test files, simplified some tests
2014-10-16 16:37:51 -04:00
David Jones
b95b010c0d
Set the exit status to reflect pass/fail.
...
For Travis compatibility, we set the exit code to non-zero when
any tests fail.
Fixes #5 .
2014-03-17 13:43:13 +00:00
David Jones
8d53676743
Ensure we can cd into directories starting with a hyphen. Fixes #3 .
2013-07-26 12:51:01 +01:00
David Jones
31da4fae92
Print date and duration.
2013-06-28 10:48:43 +01:00
David Jones
e892c565cb
Removed spurious output from grep.
2013-06-28 10:47:51 +01:00
David Jones
0110a72965
remove pointless use of echo
2013-06-27 18:27:40 +01:00
David Jones
a900722fb7
Fix bug when test is called "-n"
2013-06-26 08:15:07 +01:00
David Jones
3062e58a75
Use singular / plural form correctly.
2013-06-20 18:56:29 +01:00
David Jones
31b3f89827
Make it a /bin/sh script. For greater good.
2013-06-19 07:46:31 +01:00
David Jones
ecc857a101
Replace bash-specific &> with portable equivalent.
2013-06-19 07:45:19 +01:00
David Jones
2470af64b4
Relocate stdout_file so that urchins in different directories do
...
not clash.
2013-06-19 07:34:07 +01:00
David Jones
feb2f1c26c
Add helpful --help option and give usage on bogus options.
2013-06-18 22:21:31 +01:00
David Jones
40f9a967c3
Replace non-portable use of echo -ne with entirely lovely and
...
portable printf.
2013-06-18 22:11:04 +01:00
Thomas Levine
0c6837cfbd
blah
2012-10-11 15:47:08 -04:00
Thomas Levine
a9558acec0
fullpath
2012-10-11 14:50:03 -04:00
Thomas Levine
f85970e7a8
improve readlink degredation
2012-10-11 14:25:40 -04:00
Thomas Levine
10802b89df
remove &>>
2012-10-11 14:00:55 -04:00
Thomas Levine
9c24cc2184
move constants
2012-10-11 02:34:20 -04:00
Thomas Levine
a5176e1262
refactor
2012-10-11 02:21:05 -04:00
Thomas Levine
a2d7b41ca1
better dir tchecking
2012-10-11 02:02:06 -04:00
Thomas Levine
b37756d5de
help
2012-10-11 01:52:29 -04:00
Thomas Levine
a1b8922901
flags
2012-10-11 01:46:02 -04:00
Thomas Levine
ccef0dfbce
white space
2012-10-11 01:17:20 -04:00
Thomas Levine
d2cfa34be8
stdout is weird
2012-10-11 01:15:48 -04:00
Thomas Levine
99ae54e992
counting
2012-10-11 01:10:43 -04:00
Thomas Levine
83b0e53536
hierarchy
2012-10-10 20:43:13 -04:00
Thomas Levine
a145e75907
log setup/teardown stuff
2012-10-10 20:31:18 -04:00
Thomas Levine
103f571059
oops, don't source
2012-10-10 19:46:58 -04:00
Thomas Levine
be4a5fc698
take an argument
2012-10-10 15:51:06 -04:00
Thomas Levine
1bd7b4adf6
changes
2012-10-10 15:47:21 -04:00
Thomas Levine
693e6cd438
oops
2012-10-10 14:43:41 -04:00
Thomas Levine
ea5e74b03e
oops exit code
2012-10-10 14:40:49 -04:00
Thomas Levine
f79da9215c
hide all output
2012-10-10 14:30:34 -04:00
Thomas Levine
59b3497af1
setup_dir v setup
2012-10-10 14:25:44 -04:00
Thomas Levine
065e72eb7a
stuff
2012-10-10 06:09:18 -04:00
Zarino Zappia
a70f1f6033
pretty test output, and test stdout written to temporary file
2012-10-09 16:45:20 +01:00
Thomas Levine
1dec252a52
urchin usage help thingy
2012-10-08 10:43:14 -04:00
Thomas Levine
9c88b9d5d4
make test name red
2012-10-08 10:34:17 -04:00
Thomas Levine
45df979ec5
setup sourcing test
2012-10-08 10:29:15 -04:00
Thomas Levine
0be1383078
match the source in the docs
2012-10-08 10:25:23 -04:00
Thomas Levine
accdf268d8
allow starting in the correct directory
2012-10-08 10:18:48 -04:00
Thomas Levine
82f17b7172
docs
2012-10-08 10:16:49 -04:00
Thomas Levine
f57ee0d217
print name of failing test
2012-10-08 09:26:44 -04:00
Thomas Levine
6685bc6182
run executable stuff
2012-10-08 08:59:14 -04:00
Thomas Levine
05c478baa9
meta-tests
2012-10-08 08:50:48 -04:00
Thomas Levine
3368947b3b
main
2012-10-04 12:43:49 -04:00
Thomas Levine
d0d4593ce8
aoeu
2012-10-04 07:32:33 -04:00
Thomas Levine
c21599318f
recurse function
2012-10-04 07:29:34 -04:00
Thomas Levine
5384988326
add urchin
2012-10-04 07:24:03 -04:00