Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf52bc23

Browse files
committed
meson: Add pg_regress_ecpg to ecpg test dependencies
This is required to ensure correct test dependencies, previouslypg_regress_ecpg would not necessarily be built.The missing dependency was, e.g., visible when doing ninja clean && ninja meson-test-prereq && meson test --no-rebuild --suite setup --suite ecpgApply this to all branches with meson support, as part of an effort to fixincorrect test dependencies that can lead to test failures.Discussion:https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.comDiscussion:https://postgr.es/m/bdba588f-69a9-4f3e-9b95-62d07210a32e@eisentraut.orgBackpatch: 16-, where meson support was added
1 parent25cb776 commitf52bc23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/interfaces/ecpg/test/meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ if meson.is_cross_build()
55
subdir_done()
66
endif
77

8+
ecpg_test_dependencies= []
9+
810
pg_regress_ecpg_sources= pg_regress_c+files(
911
'pg_regress_ecpg.c',
1012
)
@@ -23,7 +25,7 @@ pg_regress_ecpg = executable('pg_regress_ecpg',
2325
'install':false
2426
},
2527
)
26-
testprep_targets+= pg_regress_ecpg
28+
ecpg_test_dependencies+= pg_regress_ecpg
2729

2830
# create .c files and executables from .pgc files
2931
ecpg_test_exec_kw= {
@@ -50,8 +52,6 @@ ecpg_preproc_test_command_end = [
5052
'-o','@OUTPUT@','@INPUT@'
5153
]
5254

53-
ecpg_test_dependencies= []
54-
5555
subdir('compat_informix')
5656
subdir('compat_oracle')
5757
subdir('connect')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp