Support for running tests outside t/ + don't run a TODO test
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest4 patches 1 replyIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | test-lib: Use $TEST_DIRECTORY or $GIT_BUILD_DIR instead of $(pwd) and ../t/ | +8 | 0 replies | |
| 2/4 | test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../t/ | +15 | 0 replies | |
| 3/4 | test-lib: Allow overriding of TEST_DIRECTORYt/ | +7 | 0 replies | |
| 4/4 | t/t0000-basic.sh: Run the passing TODO test inside its own test-libt/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] Support for running tests outside t/ + don't run a TODO test
This *really* v3, I just sent another copy of v2 unchanged accidentally (this is really not my day). This one:
* Fixes a trivial shell syntax error in the last patch (oops!)
* Uses #!$SHELL_PATH for a shebang instead of #!/bin/sh in the file we're about to write out. This now passes e.g. on Solaris which has an insane /bin/sh.
As an aside there's a bunch of other things in our tests that are writing out shellscripts with a #!/bin/sh shebang instead of #!$SHELL_PATH. These are passing purely by accident since they just happen to use shell syntax that doesn't run afoul of grumpy old shells like Solaris's /bin/sh.
Ævar Arnfjörð Bjarmason (4):
test-lib: Use $TEST_DIRECTORY or $GIT_BUILD_DIR instead of $(pwd) and
../
test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
test-lib: Allow overriding of TEST_DIRECTORY t/t0000-basic.sh: Run the passing TODO test inside its own test-lib
t/t0000-basic.sh | 31 +++++++++++++++++++++++++++++++ t/test-lib.sh | 39 +++++++++++++++++++++++---------------- 2 files changed, 54 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.2.1.446.g168052