Skip to content

Commit 5f176a3

Browse files
committed
build/meson: move function_source into tests
1 parent d1aed54 commit 5f176a3

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

meson.build

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,21 @@ if tests.allowed()
482482

483483
c_args: qjs_c_args,
484484
dependencies: qjs_dep,
485+
build_by_default: false,
486+
),
487+
)
488+
489+
# Function.toString() test
490+
test(
491+
'function_source',
492+
executable(
493+
'function_source',
494+
'gen/function_source.c',
495+
qjs_libc_srcs,
496+
497+
c_args: qjs_c_args,
498+
dependencies: qjs_dep,
499+
build_by_default: false,
485500
),
486501
)
487502
endif
@@ -497,14 +512,6 @@ executable(
497512
build_by_default: false,
498513
)
499514

500-
executable(
501-
'function_source',
502-
'gen/function_source.c',
503-
qjs_libc_srcs,
504-
505-
c_args: qjs_c_args,
506-
dependencies: qjs_dep,
507-
)
508515

509516
if examples.allowed()
510517
executable(

0 commit comments

Comments
 (0)