summaryrefslogtreecommitdiff
path: root/test/runtests
diff options
context:
space:
mode:
Diffstat (limited to 'test/runtests')
-rwxr-xr-xtest/runtests23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/runtests b/test/runtests
deleted file mode 100755
index 7410032..0000000
--- a/test/runtests
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# Set up the install to work with
-destdir=$(mktemp --tmpdir -d libretools-test-destdir.XXXXXXXXXX)
-make -C .. install DESTDIR=$destdir &>/dev/null || {
- echo 'error creating local install, cannot run tests'
- exit 1
-}
-export PATH="$destdir/usr/bin:$destdir/usr/sbin:$PATH"
-export LIBRETOOLS_LIBDIR="$destdir/usr/lib/libretools"
-
-# Set up the user profile
-home=$(mktemp --tmpdir -d libretools-test-home.XXXXXXXXXX)
-export XDG_CACHE_HOME="$home/.cache"
-export XDG_CONFIG_HOME="$home/.config"
-
-# Run the tests
-roundup
-ret=$?
-
-# Clean up
-rm -rf -- "$destdir" "$testhome"
-exit $ret