소스 검색

Add the testsuite to meson

Martijn Braam 1 년 전
부모
커밋
a1a98063c2
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  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