summaryrefslogtreecommitdiff
path: root/config.testing
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 15:41:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 15:41:37 -0400
commitda0737360ab185844e4461d7580cf81c639e9ded (patch)
treeafdc2387e43645a62410852d96fa0cf549363597 /config.testing
parent0b96686ab36ddc29e07281d52dd7790c5c5ca89d (diff)
parent9705ba8a148d03dfd4c2184f3a1f13ee373eb826 (diff)
Merge branch 'lukeshu/archlinux+cleanup+librelib' into lukeshu/xbs
# Conflicts: # config # cron-jobs/makepkg.conf # cron-jobs/update-web-db # db-functions # db-move # db-remove # db-update # test/lib/common.inc # test/test.d/create-filelists.sh # test/test.d/db-update.sh # testing2x
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