diff tests/test-check-config.t @ 32940:75be14993fda

cleanup: use $PYTHON to run python in many more tests Spotted one of these, then wrote a check-code rule that caught them all. It will be the next change.
author Augie Fackler <augie@google.com>
date Tue, 20 Jun 2017 09:45:02 -0400
parents cb6436e051ca
children 6c113a7dec52
line wrap: on
line diff
--- a/tests/test-check-config.t	Thu Jun 15 14:22:39 2017 -0400
+++ b/tests/test-check-config.t	Tue Jun 20 09:45:02 2017 -0400
@@ -23,7 +23,7 @@
 
   $ cd "$TESTDIR"/..
 
-  $ python contrib/check-config.py < $TESTTMP/files
+  $ $PYTHON contrib/check-config.py < $TESTTMP/files
   undocumented: ui.doesnotexist (str)
   undocumented: ui.missingbool1 (bool) [True]
   undocumented: ui.missingbool2 (bool)
@@ -32,7 +32,7 @@
 New errors are not allowed. Warnings are strongly discouraged.
 
   $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
-  >   python contrib/check-config.py
+  >   $PYTHON contrib/check-config.py
               limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05)
   
   conflict on profiling.showmin: ('with', '0.05') != ('with', '0.005')