##// END OF EJS Templates
tests: make sure test-run-tests.t actually runs run-tests.py under Python 3...
Augie Fackler -
r37758:1b71a397 default
parent child Browse files
Show More
@@ -6,8 +6,7 b' Avoid interference from actual test env:'
6 6
7 7 Smoke test with install
8 8 ============
9
10 $ run-tests.py $HGTEST_RUN_TESTS_PURE -l
9 $ $PYTHON $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE -l
11 10
12 11 # Ran 0 tests, 0 skipped, 0 failed.
13 12
@@ -15,14 +14,14 b' Define a helper to avoid the install ste'
15 14 =============
16 15 $ rt()
17 16 > {
18 > run-tests.py --with-hg=`which hg` "$@"
17 > $PYTHON $TESTDIR/run-tests.py --with-hg=`which hg` "$@"
19 18 > }
20 19
21 20 error paths
22 21
23 22 #if symlink
24 23 $ ln -s `which true` hg
25 $ run-tests.py --with-hg=./hg
24 $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
26 25 warning: --with-hg should specify an hg script
27 26
28 27 # Ran 0 tests, 0 skipped, 0 failed.
@@ -31,7 +30,7 b' error paths'
31 30
32 31 #if execbit
33 32 $ touch hg
34 $ run-tests.py --with-hg=./hg
33 $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
35 34 usage: run-tests.py [options] [tests]
36 35 run-tests.py: error: --with-hg must specify an executable hg script
37 36 [2]
General Comments 0
You need to be logged in to leave comments. Login now