summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-10-20 22:45:37 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-20 22:45:37 +0300
commitb165ba85d5f7355eb1487819703c37ad59d2043d (patch)
tree89244ed3af58f5d564e0182ef6accf7909996265
parent21ca60a06469d6ac3a84315941af7fbc6d1d409b (diff)
downloadmeson-revertoptions.tar.gz
Test that running configure on a build dir works.revertoptions
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index f5874294d..3bec8c0ab 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