aboutsummaryrefslogtreecommitdiff
path: root/ci/jobs/2-test
diff options
context:
space:
mode:
authorDevan Carpenter <devan@taler.net>2023-11-22 22:41:23 -0500
committerDevan Carpenter <devan@taler.net>2023-11-22 22:41:23 -0500
commitbaa070d19cda046cb0349e85a9a8aabcd9f52661 (patch)
tree8ff858c8b8c9cfb42bc6d79f7da1cba603970577 /ci/jobs/2-test
parente53e06bc753e444b7365cf97bcbe006a52d850b9 (diff)
downloadexchange-baa070d19cda046cb0349e85a9a8aabcd9f52661.tar.xz
ci: move to contrib dir
Diffstat (limited to 'ci/jobs/2-test')
-rwxr-xr-xci/jobs/2-test/job.sh6
-rwxr-xr-xci/jobs/2-test/test.sh37
2 files changed, 0 insertions, 43 deletions
diff --git a/ci/jobs/2-test/job.sh b/ci/jobs/2-test/job.sh
deleted file mode 100755
index bfb24e335..000000000
--- a/ci/jobs/2-test/job.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-set -exuo pipefail
-
-job_dir=$(dirname "${BASH_SOURCE[0]}")
-
-"${job_dir}"/test.sh
diff --git a/ci/jobs/2-test/test.sh b/ci/jobs/2-test/test.sh
deleted file mode 100755
index 39fca5c16..000000000
--- a/ci/jobs/2-test/test.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-set -evu
-
-./bootstrap
-./configure CFLAGS="-ggdb -O0" \
- --enable-logging=verbose \
- --disable-doc
-make
-make install
-
-sudo -u postgres /usr/lib/postgresql/15/bin/postgres -D /etc/postgresql/15/main -h localhost -p 5432 &
-sleep 10
-sudo -u postgres createuser -p 5432 root
-sudo -u postgres createdb -p 5432 -O root talercheck
-
-check_command()
-{
- # Set LD_LIBRARY_PATH so tests can find the installed libs
- LD_LIBRARY_PATH=/usr/local/lib PGPORT=5432 make check
-}
-
-print_logs()
-{
- for i in src/*/test-suite.log
- do
- for FAILURE in $(grep '^FAIL:' ${i} | cut -d' ' -f2)
- do
- echo "Printing ${FAILURE}.log"
- tail "$(dirname $i)/${FAILURE}.log"
- done
- done
-}
-
-if ! check_command ; then
- print_logs
- exit 1
-fi