From a5b33db55807a9663944d29720ce01eeb26a8bd1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 17 Feb 2021 11:55:10 -0500 Subject: [PATCH] ci: Fix failure in unit tests with vs backend --- run_unittests.py | 2 +- test cases/common/52 run target/meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/run_unittests.py b/run_unittests.py index 16589f891..550fe36c2 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2382,7 +2382,7 @@ class AllPlatformTests(BasePlatformTests): self.init(testdir) self.run_target('check_exists') self.run_target('check-env') - self.run_target('dummy.stamp') + self.run_target('check-env-ct') def test_install_introspection(self): ''' diff --git a/test cases/common/52 run target/meson.build b/test cases/common/52 run target/meson.build index 9b62f165c..df0a1a50e 100644 --- a/test cases/common/52 run target/meson.build +++ b/test cases/common/52 run target/meson.build @@ -93,7 +93,7 @@ run_target('check-env', # Check some string substitutions that has always been done but never documented. # Some projects have been relying on this implementation detail. This is # documented behaviour since 0.57.1. -custom_target('dummy.stamp', +custom_target('check-env-ct', command: [find_program('check-env.py'), '@SOURCE_ROOT@', '@BUILD_ROOT@', '@CURRENT_SOURCE_DIR@'], env: {'MESON_SOURCE_ROOT': meson.source_root(), @@ -101,5 +101,5 @@ custom_target('dummy.stamp', 'MESON_SUBDIR': meson.current_source_dir(), 'MESONINTROSPECT': 'fake value', 'MY_ENV': '1'}, - output: 'dummy.stamp', + output: 'check-env-ct', )