freedreno/meson: simplify script-path logic

When passing this to files(), there's no point in prepending
current_source_dir. Let's simplify this a bit.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20907>
This commit is contained in:
Erik Faye-Lund
2023-01-25 16:31:04 +01:00
committed by Marge Bot
parent f00c9e85e5
commit fd72369b65
+1 -1
View File
@@ -156,7 +156,7 @@ if dep_lua.found() and dep_libarchive.found()
['dEQP-GLES2.functional.texture.specification.basic_teximage2d.rgba16f_2d', ['--once']],
['dEQP-VK.draw.indirect_draw.indexed.indirect_draw_count.triangle_list', ['--frame', '0', '--once']],
# Test a lua script to ensure we don't break scripting API
['shadow', ['--script', files(join_paths(meson.current_source_dir(), 'scripts', 'parse-submits.lua'))]],
['shadow', ['--script', files('scripts/parse-submits.lua')]],
]
foreach cffdump_test: cffdump_tests
name = cffdump_test[0]