Skip to content

Commit

Permalink
unittests: Fix the test_subproject_variables test
Browse files Browse the repository at this point in the history
Adjusting the regular expressions to match the new output, where we now
also log the machine each dependency is for.
  • Loading branch information
oleavr committed Mar 18, 2024
1 parent 11a9b71 commit cc689ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/failuretests.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def test_subproject_variables(self):
out = self.init(tdir, inprocess=True)
self.assertRegex(out, r"Neither a subproject directory nor a .*nosubproj.wrap.* file was found")
self.assertRegex(out, r'Function does not take positional arguments.')
self.assertRegex(out, r'Dependency .*somenotfounddep.* from subproject .*subprojects/somesubproj.* found: .*NO.*')
self.assertRegex(out, r'Dependency .*zlibproxy.* from subproject .*subprojects.*somesubproj.* found: .*YES.*')
self.assertRegex(out, r'Dependency .*somenotfounddep.* for host machine from subproject .*subprojects/somesubproj.* found: .*NO.*')
self.assertRegex(out, r'Dependency .*zlibproxy.* for host machine from subproject .*subprojects.*somesubproj.* found: .*YES.*')
self.assertRegex(out, r'Missing key .*source_filename.* in subsubproject.wrap')
windows_proof_rm(stray_file)

Expand Down

0 comments on commit cc689ed

Please sign in to comment.