redo the gdk installed tests

This commit is contained in:
Matthias Clasen 2017-10-18 09:52:48 +08:00
parent b7098a0ebc
commit 090832c6fa
2 changed files with 11 additions and 11 deletions

View File

@ -0,0 +1,4 @@
[Test]
Exec=@testexecdir@/@test@ --tap -k --verbose
Type=session
Output=TAP

View File

@ -23,18 +23,14 @@ foreach t : tests
env: installed_test_env,
suite: 'gdk')
endforeach
if get_option('install-tests')
test_cdata = configuration_data()
test_cdata.set('libexecdir', gtk_libexecdir)
foreach t : tests
configure_file(input: '@0@.test.in'.format(t),
test_cdata.set('testexecdir', testexecdir)
test_cdata.set('test', t)
configure_file(input: 'gdk.test.in',
output: '@0@.test'.format(t),
configuration: test_cdata,
install: true,
install_dir: testdatadir)
endforeach
endif
endforeach