forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite78900a
committed
Create by default sql/ and expected/ for output directory in pg_regress
Using --outputdir with a custom output repository has never created bydefault the sql/ and expected/ paths generated with contents fromrespectively input/ and output/ if they don't exist, while the baseoutput directory gets created if it does not exist. If sql/ andexpected/ are not present, pg_regress would fail with the path missing,requiring test scripts to create those extra paths by themselves. Thiscommit changes pg_regress so as both get created by default if they donot exist, removing the need for external test scripts to do so.This cleans up two code paths in the tree for pg_upgrade tests in MSVCand environments able to use test.sh. sql/ and expected/ were createdas part of each test script, but this is not needed anymore aspg_regress handles the work now.Author: Roman Zharkov, Daniel GustafssonReviewed-by: Michael Paquier, Tom LaneDiscussion:https://postgr.es/m/16484-4d89e9cc11241996@postgresql.org1 parent6472572 commite78900a
File tree
3 files changed
+7
-8
lines changed- src
- bin/pg_upgrade
- test/regress
- tools/msvc
3 files changed
+7
-8
lines changedLines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
110 |
| - | |
111 | 109 |
| |
112 | 110 |
| |
113 | 111 |
| |
|
Lines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
465 | 465 |
| |
466 | 466 |
| |
467 | 467 |
| |
468 |
| - | |
469 |
| - | |
| 468 | + | |
470 | 469 |
| |
471 | 470 |
| |
472 | 471 |
| |
473 | 472 |
| |
474 | 473 |
| |
475 | 474 |
| |
476 | 475 |
| |
477 |
| - | |
478 |
| - | |
| 476 | + | |
479 | 477 |
| |
480 | 478 |
| |
481 | 479 |
| |
| |||
489 | 487 |
| |
490 | 488 |
| |
491 | 489 |
| |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
492 | 495 |
| |
493 | 496 |
| |
494 | 497 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
571 | 571 |
| |
572 | 572 |
| |
573 | 573 |
| |
574 |
| - | |
575 |
| - | |
576 | 574 |
| |
577 | 575 |
| |
578 | 576 |
| |
|
0 commit comments
Comments
(0)