Skip to content

Commit

Permalink
ncurses: ignore noise from self.run()
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 16, 2023
1 parent 42675c1 commit 6d19a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/pcre2/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test(self):
libs = load(self, os.path.join(self.build_folder, "libs")).split(" ")
output = StringIO()
self.run(f"bash {bindir}/pcre2-config --libs8", output)
conf = output.getvalue().strip().split(" ")
conf = next(l for l in output.getvalue().splitlines() if l.lower().startswith("-l")).strip().split(" ")
assert f"-L{libdir}" in conf, f"Expected '-L{libdir}' not set by pcre2-config: {conf}"
for param in conf:
if param.startswith("-l"):
Expand Down

0 comments on commit 6d19a4d

Please sign in to comment.