aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/test_cli.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-11-15 10:41:01 -0500
committerJack Lloyd <[email protected]>2019-11-15 10:41:01 -0500
commitd6778a4edbe32a4682abfdc0ada27e50c77feb9e (patch)
tree86052b603c14db54c5b71a863c5bb66a5ae354c0 /src/scripts/test_cli.py
parent865184972cbda7a3b6bd46c2ec0b399cbdde7b6e (diff)
Fix cli ldflags output
GH #2199 #2109
Diffstat (limited to 'src/scripts/test_cli.py')
-rwxr-xr-xsrc/scripts/test_cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/test_cli.py b/src/scripts/test_cli.py
index 993284951..b87f4598d 100755
--- a/src/scripts/test_cli.py
+++ b/src/scripts/test_cli.py
@@ -114,9 +114,9 @@ def cli_config_tests(_tmp_dir):
if len(prefix) < 4 or prefix[0] != '/':
logging.error("Bad prefix %s" % (prefix))
- if ("-I%s" % (prefix)) not in cflags:
+ if ("-I%s/include/botan-2" % (prefix)) not in cflags:
logging.error("Bad cflags %s" % (cflags))
- if ("-L%s" % (prefix)) not in ldflags:
+ if not ldflags.endswith(("-L%s/lib" % (prefix))):
logging.error("Bad ldflags %s" % (ldflags))
if "-lbotan-2" not in libs:
logging.error("Bad libs %s" % (libs))