Update Portuguese translation
[gegl.git] / tests / meson.build
blob52c03490e7a2245cd1bcc5b20414aaee2080023f
2 # Test runner
3 test_runner = find_program('test-runner.py')
5 # Set up test environment variables
6 gegl_test_env = environment()
7 gegl_test_env.set('ABS_TOP_SRCDIR', project_source_root)
8 gegl_test_env.set('ABS_TOP_BUILDDIR', project_build_root)
9 gegl_test_env.set('GEGL_SWAP', 'RAM')
10 gegl_test_env.set('GEGL_PATH', project_build_root / 'operations')
11 if os_win32
12   gegl_test_env.prepend('PATH', gegl_library_build_dir)
13 endif
15 # Environment for tests without OpenCL
16 gegl_test_env_no_ocl = gegl_test_env
17 gegl_test_env_no_ocl.set('GEGL_USE_OPENCL', 'no')
19 # common test includes
20 gegl_test_includes = [
21   rootInclude,
22   geglInclude,
25 # Common test dependencies
26 gegl_test_deps = [
27   babl,
28   glib,
29   gobject,
30   math,
33 # common test paralllel flag
34 gegl_test_parallel = get_option('parallel-tests')
37 # Tests
38 subdir('simple')
39 subdir('buffer')
40 subdir('xml')
41 subdir('mipmap')
42 subdir('opencl')
43 subdir('compositions')
44 if pygobject3.found()
45   subdir('python')
46 endif
47 if get_option('operation-test')
48   subdir('operations')
49 endif
50 if avlibs_found and gexiv2.found()
51   subdir('ff-load-save')
52 endif