645ac73844
- They should fail, if any test fails - Use "set -e" instead of "|| exit 1", because it suffices to be specified at the top of each file
16 lines
289 B
Bash
Executable File
16 lines
289 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$( dirname "$( readlink -f "$0" )" )"
|
|
|
|
for i in */test.sh ; do
|
|
(
|
|
echo "----------------------------------------"
|
|
echo "-- Running integration test: $i"
|
|
echo "----------------------------------------"
|
|
cd "$( dirname "$i" )"
|
|
./test.sh
|
|
)
|
|
done
|