Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Ishimaru
asdf
Commits
b71978d2
Commit
b71978d2
authored
Jun 30, 2015
by
Robert Goldman
Browse files
Fix ACL on Windows to work in console.
Use "build.exe" and "buildi.exe" to get this behavior.
parent
6810657f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/run-tests.sh
View file @
b71978d2
#!/bin/sh
#!/bin/sh
-x
# run-tests {lisp invocation} {scripts-regex}
# - read lisp forms one at a time from standard input
...
...
@@ -222,7 +222,17 @@ case "$lisp" in
ALLEGRO
=
$command
;
export
ALLEGRO
flags
=
"-q"
nodebug
=
"-batch"
# if [ "$os" = windows ] && [ -z "$ALLEGRO_NOISY" ] ; then bcmd="$command +c $flags" ; fi
if
[
"
$os
"
=
windows
]
&&
[
-z
"
$ALLEGRO_NOISY
"
]
;
then
adir
=
$(
dirname
"
${
command
}
"
)
;
allegroName
=
$(
basename
"
${
command
}
"
)
;
if
[[
${
allegroName
:
-1
}
==
"8"
]]
;
then
build
=
build
;
else
build
=
buildi
;
fi
;
# this takes somewhat unjustifiable advantage of the fact that
# the Allegro images have the same name (with .dxl extension)
# as the corresponding executables. the "build" executable
# runs an ACL image in the current terminal instead of a
# separate window, as is normal on Windows.
bcmd
=
"
${
adir
}
/
${
build
}
.exe -I
${
command
}
.dxl
$flags
"
;
fi
eval
=
"-e"
;;
ccl
)
command
=
"
${
CCL
:-
ccl
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment