test-hghave: make sure we dont have HGWITHRUSTEXT set with --pure
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 29 Jan 2025 18:56:20 +0100
changeset 52713 ba8aa20ff31f
parent 52712 801367447ce3
child 52714 fa5a0c2b9f04
test-hghave: make sure we dont have HGWITHRUSTEXT set with --pure This canno hurt.
tests/run-tests.py
--- a/tests/run-tests.py	Wed Jan 29 18:55:30 2025 +0100
+++ b/tests/run-tests.py	Wed Jan 29 18:56:20 2025 +0100
@@ -3425,6 +3425,7 @@
         if self.options.pure:
             os.environ["HGTEST_RUN_TESTS_PURE"] = "--pure"
             os.environ["HGMODULEPOLICY"] = "py"
+            os.environ.pop("HGWITHRUSTEXT", None)
         if self.options.rust:
             os.environ["HGMODULEPOLICY"] = "rust+c"
         if self.options.no_rust: