mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-29 21:22:46 +00:00
ffcdd3d90e
Since the valgrind test takes so long it approaches the limit allowed by github, move it to the head of the list so it's the first one started and split the longest tests out into a second instance that runs concurrently with the first.
34 lines
842 B
Bash
Executable File
34 lines
842 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. .github/configs $1 $2
|
|
|
|
[ -z "${SUDO}" ] || ${SUDO} mkdir -p /var/empty
|
|
|
|
set -ex
|
|
|
|
if [ -z "${LTESTS}" ]; then
|
|
make ${TEST_TARGET} SKIP_LTESTS="${SKIP_LTESTS}"
|
|
result=$?
|
|
else
|
|
make ${TEST_TARGET} SKIP_LTESTS="${SKIP_LTESTS}" LTESTS="${LTESTS}"
|
|
result=$?
|
|
fi
|
|
|
|
if [ ! -z "${SSHD_CONFOPTS}" ]; then
|
|
echo "rerunning tests with TEST_SSH_SSHD_CONFOPTS='${SSHD_CONFOPTS}'"
|
|
make t-exec TEST_SSH_SSHD_CONFOPTS="${SSHD_CONFOPTS}"
|
|
result2=$?
|
|
if [ "${result2}" -ne 0 ]; then
|
|
result="${result2}"
|
|
fi
|
|
fi
|
|
|
|
if [ "$result" -ne "0" ]; then
|
|
for i in regress/failed*; do
|
|
echo -------------------------------------------------------------------------
|
|
echo LOGFILE $i
|
|
cat $i
|
|
echo -------------------------------------------------------------------------
|
|
done
|
|
fi
|