diff options
Diffstat (limited to 'unittests/failuretests.py')
-rw-r--r-- | unittests/failuretests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py index 54a6c58..ce58f3f 100644 --- a/unittests/failuretests.py +++ b/unittests/failuretests.py @@ -78,7 +78,9 @@ class FailureTests(BasePlatformTests): super().setUp() self.srcdir = os.path.realpath(tempfile.mkdtemp()) self.mbuild = os.path.join(self.srcdir, 'meson.build') - self.moptions = os.path.join(self.srcdir, 'meson_options.txt') + self.moptions = os.path.join(self.srcdir, 'meson.options') + if not os.path.exists(self.moptions): + self.moptions = os.path.join(self.srcdir, 'meson_options.txt') def tearDown(self): super().tearDown() |