diff options
author | Dylan Baker <[email protected]> | 2017-12-11 16:13:31 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-01-11 15:40:02 -0800 |
commit | 4ccb9816737945159289527322e759d92bf7a4d6 (patch) | |
tree | 5f4cc22fa3d962cfde826599e5a95e26904bdc8d /src/mapi/shared-glapi | |
parent | 8e981eb2b7099849c7b74d855afb0c65f92227e8 (diff) |
meson: Use consistent style for tests
Don't use intermediate variables, use consistent whitespace.
Acked-by: Eric Engestrom <[email protected]>
Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mapi/shared-glapi')
-rw-r--r-- | src/mapi/shared-glapi/meson.build | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/mapi/shared-glapi/meson.build b/src/mapi/shared-glapi/meson.build index fe0d458d934..c7d136ced2c 100644 --- a/src/mapi/shared-glapi/meson.build +++ b/src/mapi/shared-glapi/meson.build @@ -51,14 +51,15 @@ libglapi = shared_library( ) if with_tests - shared_glapi_test = executable( - ['shared-glapi-test', glapitable_h], - 'tests/check_table.cpp', - cpp_args : [cpp_msvc_compat_args], - include_directories : [inc_src, inc_include, inc_mapi], - link_with : [libglapi], - dependencies : [dep_thread, idep_gtest], + test( + 'shared-glapi-test', + executable( + ['shared-glapi-test', glapitable_h], + 'tests/check_table.cpp', + cpp_args : [cpp_msvc_compat_args], + include_directories : [inc_src, inc_include, inc_mapi], + link_with : [libglapi], + dependencies : [dep_thread, idep_gtest], + ) ) - - test('shared-glapi-test', shared_glapi_test) endif |