From 522392e7553823e6b3ac38cadc4fbee72eae9540 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 4 Feb 2021 16:02:03 -0500 Subject: run_target: Add env kwarg Re-implement it in backend using the same code path as for custom_target(). This for example handle setting PATH on Windows when command is an executable. --- run_unittests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'run_unittests.py') diff --git a/run_unittests.py b/run_unittests.py index da13753..857ce6f 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2192,6 +2192,7 @@ class AllPlatformTests(BasePlatformTests): testdir = os.path.join(self.common_test_dir, '52 run target') self.init(testdir) self.run_target('check_exists') + self.run_target('check-env') def test_install_introspection(self): ''' -- cgit v1.1