Lines Matching refs:saw_sysroot
49 bool saw_sysroot = false; in test_emit_text_and_eval() local
55 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_text_and_eval()
86 bool saw_sysroot = false; in test_emit_var_and_eval() local
95 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_var_and_eval()
111 bool saw_sysroot = false; in test_emit_sysroot_and_eval() local
120 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_emit_sysroot_and_eval()
121 TEST_ASSERT_TRUE(saw_sysroot); in test_emit_sysroot_and_eval()
164 bool saw_sysroot = false; in test_dollar_escape() local
167 char *out = pkgconf_bytecode_eval_str(client, &vars, "price: $$5 and $${notavar}", &saw_sysroot); in test_dollar_escape()
181 bool saw_sysroot = false; in test_malformed_unclosed() local
184 char *out = pkgconf_bytecode_eval_str(client, &vars, "broken ${unclosed", &saw_sysroot); in test_malformed_unclosed()
198 bool saw_sysroot = false; in test_empty_braces() local
201 char *out = pkgconf_bytecode_eval_str(client, &vars, "empty ${} here", &saw_sysroot); in test_empty_braces()
215 bool saw_sysroot = false; in test_compile_time_sysroot() local
220 char *out = pkgconf_bytecode_eval_str(client, &vars, "${pc_sysrootdir}/usr/lib", &saw_sysroot); in test_compile_time_sysroot()
222 TEST_ASSERT_TRUE(saw_sysroot); in test_compile_time_sysroot()
235 bool saw_sysroot = false; in test_sysroot_dot_disables() local
240 char *out = pkgconf_bytecode_eval_str(client, &vars, "${pc_sysrootdir}/usr/lib", &saw_sysroot); in test_sysroot_dot_disables()
254 bool saw_sysroot = false; in test_sysroot_root_disables() local
259 char *out = pkgconf_bytecode_eval_str(client, &vars, "${pc_sysrootdir}/usr/lib", &saw_sysroot); in test_sysroot_root_disables()
273 bool saw_sysroot = false; in test_sysroot_trailing_slash_trimmed() local
278 char *out = pkgconf_bytecode_eval_str(client, &vars, "${pc_sysrootdir}/usr/lib", &saw_sysroot); in test_sysroot_trailing_slash_trimmed()
280 TEST_ASSERT_TRUE(saw_sysroot); in test_sysroot_trailing_slash_trimmed()
293 bool saw_sysroot = false; in test_sysroot_normalizes_to_root_disables() local
299 char *out = pkgconf_bytecode_eval_str(client, &vars, "${pc_sysrootdir}/usr/lib", &saw_sysroot); in test_sysroot_normalizes_to_root_disables()
313 bool saw_sysroot = false; in test_circular_reference() local
318 char *out = pkgconf_bytecode_eval_str(client, &vars, "${loop}", &saw_sysroot); in test_circular_reference()
363 bool saw_sysroot = false; in test_rewrite_selfrefs() local
378 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_rewrite_selfrefs()
394 bool saw_sysroot = false; in test_rewrite_selfrefs_no_match() local
412 TEST_ASSERT_TRUE(pkgconf_bytecode_eval(client, &vars, &bc, &out, &saw_sysroot)); in test_rewrite_selfrefs_no_match()
428 bool saw_sysroot = false; in test_eval_plain_text() local
431 char *out = pkgconf_bytecode_eval_str(client, &vars, "plain text value", &saw_sysroot); in test_eval_plain_text()
435 TEST_ASSERT_FALSE(saw_sysroot); in test_eval_plain_text()
447 bool saw_sysroot = false; in test_eval_variable_substitution() local
451 char *out = pkgconf_bytecode_eval_str(client, &vars, "${prefix}/lib", &saw_sysroot); in test_eval_variable_substitution()
455 TEST_ASSERT_FALSE(saw_sysroot); in test_eval_variable_substitution()
467 bool saw_sysroot = false; in test_eval_nested_variables() local
473 char *out = pkgconf_bytecode_eval_str(client, &vars, "-L${libdir}", &saw_sysroot); in test_eval_nested_variables()
488 bool saw_sysroot = false; in test_eval_undefined_variable() local
491 char *out = pkgconf_bytecode_eval_str(client, &vars, "prefix=${nonexistent}/end", &saw_sysroot); in test_eval_undefined_variable()
506 bool saw_sysroot = false; in test_eval_multiple_variables() local
511 …pkgconf_bytecode_eval_str(client, &vars, "-I${prefix}/include -L${exec_prefix}/lib", &saw_sysroot); in test_eval_multiple_variables()
526 bool saw_sysroot = false; in test_eval_empty_input() local
528 char *out = pkgconf_bytecode_eval_str(client, &vars, "", &saw_sysroot); in test_eval_empty_input()
546 bool saw_sysroot = false; in test_eval_sysroot_detection() local
553 char *out = pkgconf_bytecode_eval_str(client, &vars, "${includedir}", &saw_sysroot); in test_eval_sysroot_detection()
556 TEST_ASSERT_TRUE(saw_sysroot); in test_eval_sysroot_detection()
581 bool saw_sysroot = false; in test_compile_eval_roundtrip() local
592 char *out = pkgconf_variable_eval_str(client, &vars, v, &saw_sysroot); in test_compile_eval_roundtrip()