Files
swift-nio/IntegrationTests/run-single-test.sh
T
Tom Doron 7d5dc67af8 scripts cleanup
motivation: nicer source tree

chanages:
* move scripts to scripts directory
* move integration tests to IntegrationTests directory and remove driver script
* add .sh extension to bash scripts
* adjust rio.yaml
2018-02-12 10:06:46 -08:00

20 lines
267 B
Bash
Executable File

#!/bin/bash
(
# this sub-shell is where the actual test is run
set -eu
set -x
set -o pipefail
test="$1"
tmp="$2"
root="$3"
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$here/test_functions.sh"
source "$test"
wait
)
exit_code=$?
exit $exit_code