[PATCH 1 of 2] tests: remove obsolete uses of HGTEST_RUN_TESTS_PURE

timeless timeless at mozdev.org
Mon Mar 21 17:13:49 EDT 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1458594409 0
#      Mon Mar 21 21:06:49 2016 +0000
# Node ID d104b8e4e18c6f98267ec4bbc2bb4957e2571eeb
# Parent  78e4e558fa74aa4489609953328cbcecf1a8a428
tests: remove obsolete uses of HGTEST_RUN_TESTS_PURE

342ab95a1f4b added arguments to run-tests.py calls to propagate --pure when
--with-hg is not used.

0622d6e134fb unified places to use --with-hg via rt(), which obviated the
need for passing HGTEST_RUN_TESTS_PURE.

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
@@ -689,7 +689,7 @@
   >   $ echo foo
   >   foo
   > EOF
-  $ rt $HGTEST_RUN_TESTS_PURE test-hghave.t
+  $ rt test-hghave.t
   .
   # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
 
@@ -712,7 +712,7 @@
   >   #
   >   # check-code - a style and portability checker for Mercurial
   > EOF
-  $ rt $HGTEST_RUN_TESTS_PURE test-runtestdir.t
+  $ rt test-runtestdir.t
   .
   # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
 
@@ -729,7 +729,7 @@
   >   $ custom-command.sh
   >   hello world
   > EOF
-  $ rt $HGTEST_RUN_TESTS_PURE test-testdir-path.t
+  $ rt test-testdir-path.t
   .
   # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
 
@@ -741,7 +741,7 @@
   >   $ echo pass
   >   pass
   > EOF
-  $ rt $HGTEST_RUN_TESTS_PURE test-very-slow-test.t
+  $ rt test-very-slow-test.t
   s
   Skipped test-very-slow-test.t: missing feature: allow slow tests
   # Ran 0 tests, 1 skipped, 0 warned, 0 failed.


More information about the Mercurial-devel mailing list