summaryrefslogtreecommitdiff
path: root/json-glib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/tests')
-rw-r--r--json-glib/tests/meson.build52
1 files changed, 29 insertions, 23 deletions
diff --git a/json-glib/tests/meson.build b/json-glib/tests/meson.build
index a80e8ce..881d902 100644
--- a/json-glib/tests/meson.build
+++ b/json-glib/tests/meson.build
@@ -26,29 +26,35 @@ install_data(test_data, install_dir: installed_test_bindir)
foreach t: tests
installed_test = '@0@.test'.format(t)
- data = custom_target(installed_test,
- output: installed_test,
- command: [
- python3,
- gen_installed_test,
- '--testdir=@0@'.format(installed_test_bindir),
- '--testname=@0@'.format(t),
- '--outdir=@OUTDIR@',
- '--outfile=@0@'.format(installed_test),
- ],
- install: true,
- install_dir: installed_test_datadir)
+ data = custom_target(
+ installed_test,
+ output: installed_test,
+ command: [
+ python3,
+ gen_installed_test,
+ '--testdir=@0@'.format(installed_test_bindir),
+ '--testname=@0@'.format(t),
+ '--outdir=@OUTDIR@',
+ '--outfile=@0@'.format(installed_test),
+ ],
+ install: true,
+ install_dir: installed_test_datadir,
+ )
- exe = executable(t, '@0@.c'.format(t),
- c_args: json_c_args,
- install: true,
- install_dir: installed_test_bindir,
- dependencies: [ json_glib_dep, ])
+ exe = executable(
+ t, '@0@.c'.format(t),
+ c_args: json_c_args,
+ install: true,
+ install_dir: installed_test_bindir,
+ dependencies: [ json_glib_dep, ],
+ )
- test(t, exe,
- args: [ '--tap', '-k' ],
- env: [
- 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
- 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
- ])
+ test(
+ t, exe,
+ args: [ '--tap', '-k' ],
+ env: [
+ 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
+ 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+ ],
+ )
endforeach