]> granicus.if.org Git - postgresql/commitdiff
pg_regress: Write processed input/*.source into output dir
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 15 Feb 2015 02:33:41 +0000 (21:33 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 15 Feb 2015 06:21:15 +0000 (01:21 -0500)
Before, it was writing the processed files into the input directory,
which is incorrect in a vpath build.

src/test/regress/pg_regress.c

index 147db02f058e1425f70c1e4684137b80644a8c6f..6d754a1e4e21967bceff525db30451443c9a0411 100644 (file)
@@ -618,7 +618,7 @@ convert_sourcefiles_in(char *source_subdir, char *dest_dir, char *dest_subdir, c
 static void
 convert_sourcefiles(void)
 {
-       convert_sourcefiles_in("input", inputdir, "sql", "sql");
+       convert_sourcefiles_in("input", outputdir, "sql", "sql");
        convert_sourcefiles_in("output", outputdir, "expected", "out");
 }