]> 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 02:33:41 +0000 (21:33 -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 0de1af6f8a5d2749c5965c03d027edc444aef076..3af0e57d4e3ba24f2e5c1880e141db0f36ac9208 100644 (file)
@@ -613,7 +613,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");
 }