aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 905cb8f..b75eb16 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -4321,7 +4321,7 @@ class AllPlatformTests(BasePlatformTests):
def test_reconfigure(self):
testdir = os.path.join(self.unit_test_dir, '48 reconfigure')
- self.init(testdir, extra_args=['-Dopt1=val1'])
+ self.init(testdir, extra_args=['-Dopt1=val1', '-Dsub1:werror=true'])
self.setconf('-Dopt2=val2')
self.__reconfigure()
@@ -4332,6 +4332,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertRegex(out, 'opt2 val2')
self.assertRegex(out, 'opt3 val3')
self.assertRegex(out, 'opt4 default4')
+ self.assertRegex(out, 'sub1:werror True')
self.build()
self.run_tests()
@@ -4345,6 +4346,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertRegex(out, 'opt2 val2')
self.assertRegex(out, 'opt3 val3')
self.assertRegex(out, 'opt4 val4')
+ self.assertRegex(out, 'sub1:werror True')
self.assertTrue(Path(self.builddir, '.gitignore').exists())
self.build()
self.run_tests()