##// 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 Smoke test with install
7 Smoke test with install
8 ============
8 ============
9
9 $ $PYTHON $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE -l
10 $ run-tests.py $HGTEST_RUN_TESTS_PURE -l
11
10
12 # Ran 0 tests, 0 skipped, 0 failed.
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 $ rt()
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 error paths
20 error paths
22
21
23 #if symlink
22 #if symlink
24 $ ln -s `which true` hg
23 $ ln -s `which true` hg
25 $ run-tests.py --with-hg=./hg
24 $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
26 warning: --with-hg should specify an hg script
25 warning: --with-hg should specify an hg script
27
26
28 # Ran 0 tests, 0 skipped, 0 failed.
27 # Ran 0 tests, 0 skipped, 0 failed.
@@ -31,7 +30,7 b' error paths'
31
30
32 #if execbit
31 #if execbit
33 $ touch hg
32 $ touch hg
34 $ run-tests.py --with-hg=./hg
33 $ $PYTHON $TESTDIR/run-tests.py --with-hg=./hg
35 usage: run-tests.py [options] [tests]
34 usage: run-tests.py [options] [tests]
36 run-tests.py: error: --with-hg must specify an executable hg script
35 run-tests.py: error: --with-hg must specify an executable hg script
37 [2]
36 [2]
General Comments 0
You need to be logged in to leave comments. Login now