forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3d1aec2
committed
Make PG_TEST_EXTRA env var override the "meson setup" option
"meson test" used to ignore the PG_TEST_EXTRA environment variable,which meant that in order to run additional tests, you had to run"meson setup -DPG_TEST_EXTRA=...". That's somewhat expensive, and notconsistent with autoconf builds. Allow PG_TEST_EXTRA environmentvariable to override the setup-time option at run time, so that youcan do "PG_TEST_EXTRA=... meson test".To implement this, the configuration time value is passed as an extra"--pg-test-extra" argument to testwrap instead of adding it to thetest environment. If the environment variable is set at the time ofrunning test, testwrap uses the value from the environment variableand ignores the --pg-test-extra option.Now that "meson test" obeys the environment variable, we can remove itfrom the "meson setup" steps in the CI script. It will now be pickedup from the environment variable like with "make check".Author: Nazir Bilal Yavuzk, Ashutosh BapatReviewed-by: Ashutosh Bapat with inputs from Tom Lane and Andrew Dunstan1 parent5b0c46e commit3d1aec2
File tree
5 files changed
+24
-14
lines changed- doc/src/sgml
- src/tools
5 files changed
+24
-14
lines changedLines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 |
| - | |
179 | 178 |
| |
180 | 179 |
| |
181 | 180 |
| |
| |||
364 | 363 |
| |
365 | 364 |
| |
366 | 365 |
| |
367 |
| - | |
368 | 366 |
| |
369 | 367 |
| |
370 | 368 |
| |
| |||
380 | 378 |
| |
381 | 379 |
| |
382 | 380 |
| |
383 |
| - | |
384 | 381 |
| |
385 | 382 |
| |
386 | 383 |
| |
| |||
502 | 499 |
| |
503 | 500 |
| |
504 | 501 |
| |
505 |
| - | |
506 | 502 |
| |
507 | 503 |
| |
508 | 504 |
| |
| |||
574 | 570 |
| |
575 | 571 |
| |
576 | 572 |
| |
577 |
| - | |
| 573 | + | |
578 | 574 |
| |
579 | 575 |
| |
580 | 576 |
| |
|
Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3080 | 3080 |
| |
3081 | 3081 |
| |
3082 | 3082 |
| |
3083 |
| - | |
3084 |
| - | |
3085 |
| - | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
3086 | 3090 |
| |
3087 | 3091 |
| |
3088 | 3092 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3289 | 3289 |
| |
3290 | 3290 |
| |
3291 | 3291 |
| |
3292 |
| - | |
3293 |
| - | |
3294 |
| - | |
3295 |
| - | |
3296 |
| - | |
3297 | 3292 |
| |
3298 | 3293 |
| |
3299 | 3294 |
| |
| |||
3357 | 3352 |
| |
3358 | 3353 |
| |
3359 | 3354 |
| |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
3360 | 3360 |
| |
3361 | 3361 |
| |
3362 | 3362 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 |
| |
45 | 55 |
| |
46 | 56 |
| |
|
0 commit comments
Comments
(0)