- ok1(get_ccan_line_pp(line_info[i].cond, "BAR", 1)
- == COMPILED);
- ok1(get_ccan_line_pp(line_info[i].cond, "FOO", 1)
- == NOT_COMPILED);
+ /* If we don't know if the TEST_H was undefined,
+ * best we get is a MAYBE. */
+ ok1(get_ccan_line_pp(line_info[i].cond, "BAR", &val,
+ NULL) == MAYBE_COMPILED);
+ ok1(get_ccan_line_pp(line_info[i].cond, "BAR", NULL,
+ NULL) == NOT_COMPILED);
+ ok1(get_ccan_line_pp(line_info[i].cond, "BAR", &val,
+ "TEST_H", NULL,
+ NULL) == COMPILED);
+ ok1(get_ccan_line_pp(line_info[i].cond, "BAR", NULL,
+ "TEST_H", NULL,
+ NULL) == NOT_COMPILED);