Test scripts can be run from any directory.
parent
b5e7212d84
commit
c57f809654
|
@ -1,4 +1,9 @@
|
|||
#!/bin/bash
|
||||
cd "${0%/*}"
|
||||
if [[ ! -e run-all-tests.sh ]] ; then
|
||||
echo "Error, this script must run from the ./testing/docker directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Checking docker"
|
||||
docker ps
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script runs the testscript for all supported docker images
|
||||
cd "${0%/*}"
|
||||
if [[ ! -e run-all-tests.sh ]] ; then
|
||||
echo "Error, this script must run from the ./testing/docker directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TARGET=../../build-docker
|
||||
mkdir -p $TARGET
|
||||
|
|
Loading…
Reference in New Issue