Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions test/run_envoy_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ set -e
SOURCE_DIR=$1
BINARY_DIR=$2

# These directories have the Bazel meaning described at
# https://bazel.build/versions/master/docs/test-encyclopedia.html. In particular, TEST_SRCDIR is
# where we expect to find the generated outputs of various scripts preparing input data (these are
# not only the actual source files!).
: ${TEST_TMPDIR:=/tmp/envoy_test_tmp}
: ${TEST_SRCDIR:=/tmp/envoy_test_runfiles}
export TEST_TMPDIR TEST_SRCDIR
source $SOURCE_DIR/test/setup_test_env.sh

mkdir -p $TEST_TMPDIR

Expand Down
9 changes: 9 additions & 0 deletions test/setup_test_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# These directories have the Bazel meaning described at
# https://bazel.build/versions/master/docs/test-encyclopedia.html. In particular, TEST_SRCDIR is
# where we expect to find the generated outputs of various scripts preparing input data (these are
# not only the actual source files!).
: ${TEST_TMPDIR:=/tmp/envoy_test_tmp}
: ${TEST_SRCDIR:=/tmp/envoy_test_runfiles}
export TEST_TMPDIR TEST_SRCDIR