summaryrefslogtreecommitdiff
path: root/.appveyor
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2021-06-15 08:50:20 -0400
committerGitHub <noreply@github.com>2021-06-15 08:50:20 -0400
commitf56eb85227bbcc7bd81232a338655146385a77ca (patch)
treece074f4d16fc57aebeba89bf5cd874ef02bc9bbf /.appveyor
parentff059dd96af6ba4daf7bc9ddf22d1d2dbf6a177b (diff)
downloadlibffi-f56eb85227bbcc7bd81232a338655146385a77ca.tar.gz
Don't stop test on copy failure (#636)
* Don't stop test on copy failure Static-library tests were failing only because there were no DLLs to copy. This change makes a copy failure not stop the build; if a failed copy would otherwise be relevent, the later tests would fail anyway. While there are more clever ways to solve this, a brute force fix is sufficient. * [TEST] Try cygwin64; install more packages explicitly * use correct cygwin64 directory name appveyor has cygwin64 pre-installed in /cygwin64, and 32-bit cygwin in /cygwin * More testing - revert VS change, bump travis timeout * Add -g to update the rest of perl * Skip execution tests on non-native platforms Special site.exp that skips the unix_load() command for arm platforms. Unset TERM to avoid cruft in stdout Try harder to find the libffi libraries
Diffstat (limited to '.appveyor')
-rw-r--r--.appveyor/site.exp16
-rw-r--r--.appveyor/unix-noexec.exp7
2 files changed, 23 insertions, 0 deletions
diff --git a/.appveyor/site.exp b/.appveyor/site.exp
new file mode 100644
index 0000000..93f4773
--- /dev/null
+++ b/.appveyor/site.exp
@@ -0,0 +1,16 @@
+# Copyright (C) 2021 Anthony Green
+
+lappend boards_dir $::env(SITEDIR)
+
+verbose "Global Config File: target_triplet is $target_triplet" 1
+global target_list
+
+case "$target_triplet" in {
+ { "aarch*cygwin*" } {
+ set target_list "unix-noexec"
+ }
+ { "arm*cygwin*" } {
+ set target_list "unix-noexec"
+ }
+}
+
diff --git a/.appveyor/unix-noexec.exp b/.appveyor/unix-noexec.exp
new file mode 100644
index 0000000..9796cfa
--- /dev/null
+++ b/.appveyor/unix-noexec.exp
@@ -0,0 +1,7 @@
+load_generic_config "remote"
+
+proc noexec_load { dest prog args } {
+ return "unsupported"
+}
+
+set_board_info protocol "noexec"