diff options
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 58ebff4..e40ebc4 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2295,6 +2295,12 @@ class AllPlatformTests(BasePlatformTests): self.build() self.run_tests() + def test_nopromote(self): + testdir = os.path.join(self.common_test_dir, '99 subproject subdir') + with self.assertRaises(subprocess.CalledProcessError) as cm: + self.init(testdir, extra_args=['--wrap-mode=nopromote']) + self.assertIn('Dependency "subsub" not found', cm.exception.stdout) + def test_force_fallback_for(self): testdir = os.path.join(self.unit_test_dir, '31 forcefallback') self.init(testdir, extra_args=['--force-fallback-for=zlib,foo']) |