about summary refs log tree commit homepage
path: root/t/GNUmakefile
DateCommit message (Collapse)
2009-10-20tests: avoid needlessly remaking "rainbows"
The cmp test was completely unnecessary and pointless.
2009-10-18tests: predictable and simpler tempfile management
Instead of using completely random names, we'll use predictable ones since we already depend on them for exit codes and such. This drops our ability to run the same test for the same version of Ruby in the same working tree, but that's an unlikely scenario. While we're at it, avoid remove tempfiles if a test failed. This should make debugging easier.
2009-10-17tests: fix random_blob dependency
2009-10-17tests: add unbuffered tee(1)-like helper
Buffering enabled in tee(1) was making tests more difficult to debug.
2009-10-10tests: create a bad exit code by default
In case the test doesn't complete and somehow doesn't write the exit code, we always want to start with one.
2009-10-10tests: update TRACER examples in makefile
2009-10-10tests: TEST_OPTS => SH_TEST_OPTS
These variables are only for shells in tests
2009-10-06tests: move trash files to their own trash/ directory
Avoid cluttering the directory we write tests in
2009-10-06tests: generate random_blob once for all tests
We don't need to repeatedly waste cycles and memory bandwidth to generate random throwaway data.
2009-10-05tests: allow "make V=2" to set TEST_OPTS += -x
Normally we can run "make V=1" for medium verbosity
2009-10-05tests: quiet down bin installation
2009-10-04Add new test suite and basic cases
I'd rather write shell scripts in shell than shell scripts in Ruby like was done with Unicorn. We're a *nix-only project so we'll embrace *nix tools to their fullest extent and as a pleasant side-effect these test cases are immune to internal API changes.