D1653: tests: add some commentary and diagnostics to test-run-tests.t
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc0c6df81c9bb: tests: add some commentary and diagnostics to test-run-tests.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1653?vs=4349=4378 REVISION DETAIL https://phab.mercurial-scm.org/D1653 AFFECTED FILES tests/test-run-tests.t CHANGE DETAILS diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -1214,7 +1214,12 @@ > #else > $ test "\$TESTDIR" = "$TESTTMP"/anothertests > #endif - > $ test "\$RUNTESTDIR" = "$TESTDIR" + > If this prints a path, that means RUNTESTDIR didn't equal + > TESTDIR as it should have. + > $ test "\$RUNTESTDIR" = "$TESTDIR" || echo "\$RUNTESTDIR" + > This should print the start of check-code. If this passes but the + > previous check failed, that means we found a copy of check-code at whatever + > RUNTESTSDIR ended up containing, even though it doesn't match TESTDIR. > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@' > #!USRBINENVPY > # To: durin42, #hg-reviewers, yuja Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D1653: tests: add some commentary and diagnostics to test-run-tests.t
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Hopefully this will give us a shot at fixing it on the Windows builder. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1653 AFFECTED FILES tests/test-run-tests.t CHANGE DETAILS diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -1214,7 +1214,12 @@ > #else > $ test "\$TESTDIR" = "$TESTTMP"/anothertests > #endif - > $ test "\$RUNTESTDIR" = "$TESTDIR" + > If this prints a path, that means RUNTESTDIR didn't equal + > TESTDIR as it should have. + > $ test "\$RUNTESTDIR" = "$TESTDIR" || echo "\$RUNTESTDIR" + > This should print the start of check-code. If this passes but the + > previous check failed, that means we found a copy of check-code at whatever + > RUNTESTSDIR ended up containing, even though it doesn't match TESTDIR. > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@' > #!USRBINENVPY > # To: durin42, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel