aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-10-20 22:45:37 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-22 22:32:34 +0300
commitf96a8cbdf5ff3c8905d0d12442d0f9d378aeec13 (patch)
tree9dd82635207ed28c2c5a81acffd99d96bd1acff1
parentc6b512e64d55cd573067b8f1f84caa63005e973c (diff)
downloadmeson-f96a8cbdf5ff3c8905d0d12442d0f9d378aeec13.zip
meson-f96a8cbdf5ff3c8905d0d12442d0f9d378aeec13.tar.gz
meson-f96a8cbdf5ff3c8905d0d12442d0f9d378aeec13.tar.bz2
Test that running configure on a build dir works.
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index f587429..3bec8c0 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -4031,6 +4031,11 @@ recommended as it is not supported on some platforms''')
self.assertPathExists(os.path.join(self.builddir, 'prog' + exe_suffix))
self.assertPathExists(os.path.join(self.builddir, 'hello.txt'))
+ def test_configure(self):
+ testdir = os.path.join(self.common_test_dir, '2 cpp')
+ self.init(testdir)
+ self._run(self.mconf_command + [self.builddir])
+
class FailureTests(BasePlatformTests):
'''
Tests that test failure conditions. Build files here should be dynamically