aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-28 16:49:21 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-29 11:25:27 -0700
commit2e2c3c968c02c3d8e87aa9e1547a842cd793f045 (patch)
treea34a42fe119898123a4c3f952f539dafad56d304 /run_unittests.py
parente83084fbfee22820b646627e35c5a1a6bf06f05c (diff)
downloadmeson-2e2c3c968c02c3d8e87aa9e1547a842cd793f045.zip
meson-2e2c3c968c02c3d8e87aa9e1547a842cd793f045.tar.gz
meson-2e2c3c968c02c3d8e87aa9e1547a842cd793f045.tar.bz2
tests: Test the cmake parser more thuroughly
It turns out there are bugs, in particular with spaces in variables...
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index b477aa3..b8f0bf2 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3681,6 +3681,11 @@ recommended as it is not supported on some platforms''')
testdir = os.path.join(self.unit_test_dir, '60 cmake_prefix_path')
self.init(testdir, extra_args=['-Dcmake_prefix_path=' + os.path.join(testdir, 'prefix')])
+ @skip_if_no_cmake
+ def test_cmake_parser(self):
+ testdir = os.path.join(self.unit_test_dir, '61 cmake parser')
+ self.init(testdir, extra_args=['-Dcmake_prefix_path=' + os.path.join(testdir, 'prefix')])
+
class FailureTests(BasePlatformTests):
'''
Tests that test failure conditions. Build files here should be dynamically