diff options
Diffstat (limited to 'testsuite/tools/meson.build')
-rw-r--r-- | testsuite/tools/meson.build | 36 |
1 files changed, 4 insertions, 32 deletions
diff --git a/testsuite/tools/meson.build b/testsuite/tools/meson.build index 582bce6fb8..986c2d6dcc 100644 --- a/testsuite/tools/meson.build +++ b/testsuite/tools/meson.build @@ -1,23 +1,12 @@ -testexecdir = join_paths(installed_test_bindir, 'tools') -testdatadir = join_paths(installed_test_datadir, 'tools') - bash = find_program('bash', required : false) if bash.found() test_env = environment() foreach t : ['simplify', 'simplify-3to4', 'validate', 'settings'] - if get_option('install-tests') - configure_file(output: t, - input: '@0@.in'.format(t), - copy: true, - install_dir: testexecdir, - ) - else - configure_file(output: t, - input: '@0@.in'.format(t), - copy: true, - ) - endif + configure_file(output: t, + input: '@0@.in'.format(t), + copy: true, + ) test(t, bash, args: t, workdir: meson.current_build_dir(), @@ -34,20 +23,3 @@ if bash.found() ) endforeach endif - -if get_option('install-tests') - foreach t : ['simplify', 'settings'] - test_conf = configuration_data() - test_conf.set('testexecdir', testexecdir) - test_conf.set('test', t) - configure_file(output: '@0@.test'.format(t), - input: 'tools.test.in', - configuration: test_conf, - install_dir: testdatadir, - ) - endforeach - - install_subdir('simplify-data', install_dir: testexecdir) - install_subdir('simplify-data-3to4', install_dir: testexecdir) - install_subdir('validate-data', install_dir: testexecdir) -endif |