gnome-chess/tests/meson.build
Michael Catanzaro 036d3552bc Tests should not be installed
These are getting installed into /usr/bin

https://bugzilla.gnome.org/show_bug.cgi?id=794238
2018-03-11 12:42:16 -05:00

30 lines
468 B
Meson

tests = [
'test-chess-game',
'test-chess-pgn',
]
tests_vala_args = [
'--target-glib=@0@'.format(min_glib_version),
]
tests_c_args = [
'-include', 'config.h',
]
tests_deps = [
glib,
gio,
libchess_dep,
]
foreach _test: tests
test_bin = executable(_test,
'@0@.vala'.format(_test),
include_directories: config_h_dir,
vala_args: tests_vala_args,
c_args: tests_c_args,
dependencies: tests_deps
)
test(_test, test_bin)
endforeach