From 75ad54ead0c74a0797355b586a7f58b526857ed0 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 20 Oct 2019 22:45:37 +0300 Subject: Test that running configure on a build dir works. --- run_unittests.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.1