Test that running configure on a build dir works.

This commit is contained in:
Jussi Pakkanen 2019-10-20 22:45:37 +03:00
parent c6b512e64d
commit f96a8cbdf5
1 changed files with 5 additions and 0 deletions

View File

@ -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