| 1 |
|
| 2 |
set -e -o pipefail |
| 3 |
|
| 4 |
source hack/make/.integration-test-helpers |
| 5 |
|
| 6 |
if [ ! -z "${TEST_SKIP_INTEGRATION}" ] && [ ! -z "${TEST_SKIP_INTEGRATION_CLI}" ]; then |
| 7 |
echo integration and integration-cli skipped according to env vars |
| 8 |
exit 0 |
| 9 |
fi |
| 10 |
|
| 11 |
( |
| 12 |
env |
| 13 |
build_test_suite_binaries |
| 14 |
bundle .integration-daemon-start |
| 15 |
|
| 16 |
testexit=0 |
| 17 |
(repeat run_test_integration) || testexit=$? |
| 18 |
|
| 19 |
|
| 20 |
bundle .integration-daemon-stop |
| 21 |
cleanup_test_suite_binaries |
| 22 |
|
| 23 |
echo exiting test-integration |
| 24 |
set -x |
| 25 |
exit ${testexit} |
| 26 |
|
| 27 |
) &> >(tee -a "$DEST/test.log") |