From 38716f0fcb03c73ae1279036913e5b0ac41528a6 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 9 Jun 2017 12:59:34 +0530 Subject: tests: Improve llvm dependency test coverage --- run_unittests.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'run_unittests.py') diff --git a/run_unittests.py b/run_unittests.py index b03534d..96aefc5 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1256,6 +1256,10 @@ class FailureTests(BasePlatformTests): for contents, match in a: self.assertMesonRaises(contents, match) + def test_llvm_dependency(self): + self.assertMesonRaises("dependency('llvm', modules : 'fail')", + "(required.*fail|{})".format(self.dnf)) + class WindowsTests(BasePlatformTests): ''' -- cgit v1.1