forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit995d400
committed
Allow passing extra options to initdb for tests
Setting the environment variable PG_TEST_INITDB_EXTRA_OPTS passesextra options to initdb run by pg_regress orPostgreSQL::Test::Cluster's init.This can be useful for a wide variety of uses, like running all testswith checksums enabled, or with JIT enabled, or with different GUCsettings, or with different locale settings. (Not all tests are goingto pass with arbitrary options, but it is useful to run this againstspecific test suites.)Reviewed-by: Ian Lawrence Barwick <barwick@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/d4d2ad9f-1c1d-47a1-bb4d-c10a747d4f15%40eisentraut.org1 parent9bc1eee commit995d400
File tree
3 files changed
+40
-8
lines changed- doc/src/sgml
- src/test
- perl/PostgreSQL/Test
- regress
3 files changed
+40
-8
lines changedLines changed: 27 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
393 |
| - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
394 | 414 |
| |
395 |
| - | |
| 415 | + | |
396 | 416 |
| |
397 | 417 |
| |
398 | 418 |
| |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
399 | 424 |
| |
400 | 425 |
| |
401 | 426 |
| |
| |||
405 | 430 |
| |
406 | 431 |
| |
407 | 432 |
| |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 | 433 |
| |
414 | 434 |
| |
415 | 435 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
| |||
519 | 520 |
| |
520 | 521 |
| |
521 | 522 |
| |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
522 | 529 |
| |
523 | 530 |
| |
524 | 531 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2306 | 2306 |
| |
2307 | 2307 |
| |
2308 | 2308 |
| |
| 2309 | + | |
2309 | 2310 |
| |
2310 | 2311 |
| |
2311 | 2312 |
| |
| |||
2327 | 2328 |
| |
2328 | 2329 |
| |
2329 | 2330 |
| |
| 2331 | + | |
| 2332 | + | |
2330 | 2333 |
| |
2331 | 2334 |
| |
2332 | 2335 |
| |
| |||
2339 | 2342 |
| |
2340 | 2343 |
| |
2341 | 2344 |
| |
2342 |
| - | |
| 2345 | + | |
2343 | 2346 |
| |
2344 | 2347 |
| |
2345 | 2348 |
| |
| |||
2352 | 2355 |
| |
2353 | 2356 |
| |
2354 | 2357 |
| |
| 2358 | + | |
| 2359 | + | |
2355 | 2360 |
| |
2356 | 2361 |
| |
2357 | 2362 |
| |
|
0 commit comments
Comments
(0)