Skip to content

Commit

Permalink
catchorg#926 Validate license copy
Browse files Browse the repository at this point in the history
- When creating Conan package, the project license
  must be copied together

Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Nov 16, 2018
1 parent 003eb7e commit f1a747d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .conan/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ def build(self):
cmake.build()

def test(self):
assert os.path.isfile(os.path.join(self.deps_cpp_info["Catch2"].rootpath, "licenses", "LICENSE.txt"))
bin_path = os.path.join("bin", "test_package")
self.run("%s -s" % bin_path, run_environment=True)

0 comments on commit f1a747d

Please sign in to comment.