##// END OF EJS Templates
tests: save the original PATH and PYTHONPATH variables...
tests: save the original PATH and PYTHONPATH variables When running the tests, define ORIG_PATH and ORIG_PYTHONPATH environment variables that contain the original contents of PATH and PYTHONPATH, before they were modified by run-tests.py This will make it possible for tests to refer to the original contents of these variables if necessary. In particular, this is necessary for invoking the correct version of hg for examining the local repository (the mercurial repository itself, not the temporary test repositories). Various tests examine the local repository to check the file lists and contents of commit messages.

File last commit:

r32380:5db6d70f default
r33115:fa9a90d5 default
Show More
test-check-commit.t
21 lines | 618 B | text/troff | Tads3Lexer
/ tests / test-check-commit.t
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 #require test-repo
Enable obsolescence to avoid the warning issue when obsmarker are found
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368
Go back in the hg repo
$ cd $TESTDIR/..
David Soria Parra
tests: add magic string to bypass check-commit...
r30648 $ for node in `hg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
Augie Fackler
tests: avoid renamed files triggering check-commit failures...
r32380 > hg export --git $node | contrib/check-commit > ${TESTTMP}/check-commit.out
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > if [ $? -ne 0 ]; then
timeless
tests: minor grammar change for check-commit
r28293 > echo "Revision $node does not comply with rules"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > echo '------------------------------------------------------'
> cat ${TESTTMP}/check-commit.out
> echo
> fi
> done