Skip to content

Commit

Permalink
conan-io#108 Fix KB number for osx tests
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Oct 30, 2019
1 parent 3028116 commit 31d481e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_hooks/conan-center/test_conan-center.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,10 @@ def cpp_info(self):
inv_conanfile = conanfile + 'shared_link_flags.append("-framework CoreAudio")'
tools.save('conanfile.py', content=inv_conanfile)
output = self.conan(['create', '.', 'name/version@user/test'])
self.assertIn("ERROR: [APPLE FRAMEWORK (KB-H032)] Apple Frameworks should be packaged " \
self.assertIn("ERROR: [APPLE FRAMEWORK (KB-H033)] Apple Frameworks should be packaged " \
"using 'self.cpp_info.frameworks'", output)

val_conanfile = conanfile + 'frameworks.append("CoreAudio")'
tools.save('conanfile.py', content=val_conanfile)
output = self.conan(['create', '.', 'name/version@user/test'])
self.assertIn("[APPLE FRAMEWORK (KB-H032)] OK", output)
self.assertIn("[APPLE FRAMEWORK (KB-H033)] OK", output)

0 comments on commit 31d481e

Please sign in to comment.