summaryrefslogtreecommitdiff
path: root/config.testing
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-02 23:14:35 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-02 23:14:35 -0400
commit0d6706721278efd42eefa3a4d54ee9773711e65e (patch)
tree6781a8529270c82b88673943b90d4cd5e5ebbbed /config.testing
parentb7edc550e67393483efe179d5d5cd8bd484a9a05 (diff)
testing cleanup (backported from lukeshu/xbs)
Diffstat (limited to 'config.testing')
-rw-r--r--config.testing10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.testing b/config.testing
new file mode 100644
index 0000000..24c2283
--- /dev/null
+++ b/config.testing
@@ -0,0 +1,10 @@
+#!/hint/bash
+
+# The host architecture
+ARCH_HOST=$(uname -m)
+# Which architectures should we test building for?
+ARCH_BUILD=("$ARCH_HOST"); if [[ $ARCH_HOST == x86_64 ]]; then ARCH_BUILD+=("i686"); fi
+
+# override the default TMPDIR
+[[ -n $MASTER_TMPDIR ]] || export MASTER_TMPDIR="$(mktemp -dt "${0##*/}.XXXXXXXXXX")"
+TMPDIR=$MASTER_TMPDIR