The #1735 value-row exclusion is always on. Test builds can turn it off for * one file (CBM_TEST_SQL_FULL_PARSE_ON= ) so a test can * compare the excluded parse against the full one on the same source. */
| 3307 | * one file (CBM_TEST_SQL_FULL_PARSE_ON=<rel_path substring>) so a test can |
| 3308 | * compare the excluded parse against the full one on the same source. */ |
| 3309 | static bool cbm_sql_values_exclusion_on(const char *rel_path) { |
| 3310 | #ifdef CBM_ENABLE_TEST_SEAMS |
| 3311 | const char *full_on = getenv("CBM_TEST_SQL_FULL_PARSE_ON"); |
| 3312 | if (full_on && full_on[0] && rel_path && strstr(rel_path, full_on)) { |
| 3313 | return false; |
| 3314 | } |
| 3315 | #else |
| 3316 | (void)rel_path; |
| 3317 | #endif |
| 3318 | return true; |
| 3319 | } |
| 3320 | |
| 3321 | /* Drop the entries a branch view re-extracted from code outside the |
| 3322 | * conditionals: a definition with a QN the file already has at the same line, |
no outgoing calls
no test coverage detected