Skip to content

Commit ed5973f

Browse files
x4mcursoragent
andcommitted
injection_points: pass enable_injection_points to the TAP test under meson
The new TAP test guards on $ENV{enable_injection_points}, which the make build exports but the meson tap env did not set. Under "use warnings FATAL => 'all'" the resulting uninitialized-value warning aborts the test before it can plan, so it failed on all meson platforms. Set the variable in the tap env like the other injection-point-using modules do. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9dde244 commit ed5973f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/test/modules/injection_points/meson.build‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ tests += {
4343
'bd': meson.current_build_dir(),
4444
'tap': {
4545
'env': {
46+
'enable_injection_points': get_option('injection_points') ? 'yes' : 'no',
4647
'INJECTION_POINTS_STATE': injection_points_state.full_path(),
4748
},
4849
'tests': [

0 commit comments

Comments
 (0)