]> 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:20:44 +0000 (01:20 -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 a2957dc04896cfb07b8a64086186f6304d605dd9..d8a7484c69fc544abf4933fd86d13ce9fd7756a4 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");
 }