meson: Use consistent style for tests

Don't use intermediate variables, use consistent whitespace.

Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
This commit is contained in:
Dylan Baker
2017-12-11 16:13:31 -08:00
parent 8e981eb2b7
commit 4ccb981673
20 changed files with 199 additions and 151 deletions

View File

@@ -145,14 +145,17 @@ if with_tests
'fs_saturate_propagation', 'vf_float_conversions',
'vec4_register_coalesce', 'vec4_copy_propagation',
'vec4_cmod_propagation', 'eu_compact', 'eu_validate']
_exe = executable(
[t, nir_opcodes_h, ir_expression_operation_h],
'test_@0@.cpp'.format(t),
include_directories : [inc_common, inc_intel],
link_with : [libintel_compiler, libintel_common, libnir, libmesa_util,
libisl],
dependencies : [dep_thread, dep_dl, idep_gtest],
test(
t,
executable(
[t, nir_opcodes_h, ir_expression_operation_h],
'test_@0@.cpp'.format(t),
include_directories : [inc_common, inc_intel],
link_with : [
libintel_compiler, libintel_common, libnir, libmesa_util, libisl,
],
dependencies : [dep_thread, dep_dl, idep_gtest],
)
)
test(t, _exe)
endforeach
endif