Browse Source

Add the testsuite to meson

Martijn Braam 1 year ago
parent
commit
a1a98063c2
2 changed files with 8 additions and 1 deletions
  1. 8 1
      meson.build
  2. 0 0
      tests/test.sh

+ 8 - 1
meson.build

@@ -47,8 +47,15 @@ pkg_mod.generate(libraries: libdng,
                 filebase: 'libdng',
                 description: 'The wrapper library to generate DNG files with libtiff')
 
-executable('makedng', 'util/makedng.c',
+makedng = executable('makedng', 'util/makedng.c',
     link_with: libdng,
     include_directories: inc,
     install: true,
 )
+
+test_dng_validate = find_program('tests/test_dng_validate.sh')
+dng_validate = find_program('dng_validate')
+test('dng_validate', test_dng_validate,
+    args: [makedng.full_path()],
+    suite: 'adobe',
+)

+ 0 - 0
tests/test.sh