Imported Upstream version 1.0.2
[platform/upstream/fribidi.git] / test / meson.build
1 tests = [
2   ['CapRTL', 'explicit'],
3   ['CapRTL', 'implicit'],
4   ['CapRTL', 'isolate'],
5   ['ISO8859-8', 'hebrew'],
6   ['UTF-8', 'persian'],
7   ['UTF-8', 'reordernsm'],
8 ]
9
10 test_runner = find_program('test-runner.py')
11
12 foreach t : tests
13   charset = t[0]
14   suffix = t[1]
15   test_name = '@0@_@1@'.format(charset, suffix)
16   input_file = files('test_@0@.input'.format(test_name))
17   reference_file = files('test_@0@.reference'.format(test_name))
18   test(test_name, test_runner, args: [fribidi, charset, input_file, reference_file])
19 endforeach
20
21 subdir('unicode-conformance')