aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 12:37:28 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 14:46:31 -0400
commit5dd87260434756f3c974a6c75d373645d84f7b30 (patch)
treedce2cc80a071be35a66681134b4d263ec9d68a55 /test.sh
parent0fff9db32efe3bfaeb561843e604024d08cea1b0 (diff)
downloadsplitfits-5dd87260434756f3c974a6c75d373645d84f7b30.tar.gz
Break up configuration from test script
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/test.sh b/test.sh
index 48216ff..99a78de 100755
--- a/test.sh
+++ b/test.sh
@@ -2,12 +2,8 @@
set -o pipefail
RTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-test_program="${RTDIR}/splitfits"
-test_program_version="$(git describe --always --tags --long)"
-test_data="${RTDIR}/data"
-test_data_remote=https://nx.astroconda.org/repository
-test_data_remote_auth=${test_data_remote_auth:-}
-test_data_upload="generic/spb-splitfits/${test_program_version}"
+
+source "${RTDIR}"/test_config.sh
get_data_exists() {
local url