pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:14546:    // config_h + ".in" should exist.    report_test(res, !Stdio.is_file(combine_path(srcdir, dir, config_h + ".in")),    "%s missing in directory %s.\n", config_h + ".in", dir);    // The Makefile should regenerate config_h et al.    report_test(res,    !has_value(makefile_in||"", "CONFIG_HEADERS=@CONFIG_HEADERS@"),    "Makefile.in in directory %s is missing CONFIG_HEADERS.\n", dir);    }       foreach(get_dir(combine_path(srcdir, dir)), string f) { +  if (has_prefix(f, ".#")) continue; // Auto-save file.    if (has_suffix(f, ".cmod")) {    // Ensure that there's an explicit rule to precompile the file.    string fbase = f[..<sizeof(".cmod")];    int found;    foreach(replace(makefile_in, "\\\n", " ")/"\n", string line) {    sscanf(line, "%s#%*s", line);    if (!has_value(line, ":")) continue;    if (!has_prefix(line, fbase + ".o")) continue;    if (has_value((line/":")[1..]*":", "$(SRCDIR)/" + fbase + ".c")) {    found = 1;