Test scripts can be run from any directory.
parent
b5e7212d84
commit
c57f809654
|
@ -1,4 +1,9 @@
|
||||||
#!/bin/bash
|
#!/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"
|
echo "Checking docker"
|
||||||
docker ps
|
docker ps
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script runs the testscript for all supported docker images
|
# 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
|
TARGET=../../build-docker
|
||||||
mkdir -p $TARGET
|
mkdir -p $TARGET
|
||||||
|
|
Loading…
Reference in New Issue