mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-17 03:53:51 +00:00
ci: Workaround a bug in Fedora 35 mingw64-make script
mingw64-make is a bash script that wraps make command passing
additional arguments and setup in order to cross compiler for
MingW (to target Windows).
In Fedora 35 the script passes the arguments we provide
twice. So if we pass (like in this case)
"LOG_COMPILE=wine -C server check" the final make command will
receive
"LOG_COMPILE=wine -C server check LOG_COMPILE=wine -C server check"
arguments.
This for some arguments it's not a problem but passing "-C <dir>"
twice causes make to attempt to change directory twice.
This causes a
make: *** server: No such file or directory. Stop.
error. Use cd command before invoking mingw64-make to avoid
having to pass "-C" option.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
a73b82fc18
commit
4a1e9a03f4
@ -162,7 +162,7 @@ makecheck-windows:
|
||||
- mingw64-make
|
||||
- export G_TLS_GNUTLS_PRIORITY="NORMAL:%COMPAT"
|
||||
- export WINEPATH='Z:\usr\x86_64-w64-mingw32\sys-root\mingw\bin'
|
||||
- mingw64-make LOG_COMPILE=wine -C server check || (cat server/tests/test-suite.log && exit 1)
|
||||
- (cd server && exec mingw64-make LOG_COMPILE=wine check) || (cat server/tests/test-suite.log && exit 1)
|
||||
|
||||
websocket-autobahn:
|
||||
before_script:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user