Bailout tests unless envvar $GITOLITE_TEST is 'y'
[committer made some changes to t/README]
This commit is contained in:
parent
31166e1e1c
commit
ba67f6f9ca
2 changed files with 15 additions and 4 deletions
|
@ -37,6 +37,12 @@ use warnings;
|
|||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# make sure the user is ready for it
|
||||
if (not $ENV{GITOLITE_TEST} or $ENV{GITOLITE_TEST} ne 'y') {
|
||||
print "Bail out! See t/README for information on how to run the tests.\n";
|
||||
exit 255;
|
||||
}
|
||||
|
||||
# required preamble for all tests
|
||||
try "
|
||||
DEF gsh = /TRACE: gsh.SOC=/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue