projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: fix process_test path
[mesa.git]
/
src
/
util
/
meson.build
diff --git
a/src/util/meson.build
b/src/util/meson.build
index 77e3973c1a085c5e718adee39a47d771eb9512b6..e30029063c0e8d81914e1c1dd47defd92d4ea788 100644
(file)
--- a/
src/util/meson.build
+++ b/
src/util/meson.build
@@
-285,12
+285,13
@@
if with_tests
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
)
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
)
- if not (host_machine.system() == 'windows')
- process_test_exe_full_path = process_test_exe.full_path()
- else
+ if (host_machine.system() == 'windows' and cc.get_id() == 'gcc')
+ # This conversion is only required on mingw
process_test_exe_full_path = run_command(
'winepath', '-w', process_test_exe.full_path()
).stdout().strip()
process_test_exe_full_path = run_command(
'winepath', '-w', process_test_exe.full_path()
).stdout().strip()
+ else
+ process_test_exe_full_path = process_test_exe.full_path()
endif
test(
endif
test(