mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
skip compile test when pause not available
* test-suite/standalone/test-guild-compile: abort if pause does not exist
This commit is contained in:
parent
50da05835a
commit
efb37b954e
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ trap 'rm -f "$source" "$target"' EXIT
|
|||
|
||||
cat > "$source"<<EOF
|
||||
(eval-when (expand load eval)
|
||||
;; Wait for SIGINT.
|
||||
(pause)
|
||||
;; Wait for SIGINT, if the pause function exists.
|
||||
(if (defined? 'pause) (pause) (exit 77))
|
||||
|
||||
;; Then sleep so that the SIGINT handler gets to run
|
||||
;; and compilation doesn't complete before it runs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue