mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Convert sepgsql tests to TAP
Add a TAP test for sepgsql. This automates the previously required manual setup before the test. The actual tests are still run by pg_regress, as before, but now called from within the TAP Perl script. The previous manual test script (test_sepgsql) is left in place, since its purpose is (also) to test whether a running instance was properly initialized for sepgsql. But it has been changed to call pg_regress directly and no longer require make. Reviewed-by: Andreas Karlsson <andreas@proxel.se> Discussion: https://www.postgresql.org/message-id/flat/651a5baf-5c45-4a5a-a202-0c8453a4ebf8@eisentraut.org
This commit is contained in:
@ -40,4 +40,13 @@ contrib_targets += custom_target('sepgsql.sql',
|
||||
install_dir: dir_data / 'contrib',
|
||||
)
|
||||
|
||||
# TODO: implement sepgsql tests
|
||||
tests += {
|
||||
'name': 'sepgsql',
|
||||
'sd': meson.current_source_dir(),
|
||||
'bd': meson.current_build_dir(),
|
||||
'tap': {
|
||||
'tests': [
|
||||
't/001_sepgsql.pl',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user