mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
tests: Remove LINUXKIT_ARTIFACTS_DIR from tests
This was a hack in the first place and will be replaced by another, more obvious hack in the next commit. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
188ee6d226
commit
509be016d2
@ -5,7 +5,6 @@
|
||||
|
||||
# Temporary directory for tests to use.
|
||||
LINUXKIT_TMPDIR="${RT_PROJECT_ROOT}/_tmp"
|
||||
LINUXKIT_ARTIFACTS_DIR="${RT_PROJECT_ROOT}/../../artifacts"
|
||||
|
||||
# The top-level group.sh of the project creates a env.sh file
|
||||
# containing environment variables for tests. Source it if present.
|
||||
|
@ -10,8 +10,6 @@ group_init() {
|
||||
# Group initialisation code goes here
|
||||
[ -r "${LINUXKIT_TMPDIR}" ] && rm -rf "${LINUXKIT_TMPDIR}"
|
||||
mkdir "${LINUXKIT_TMPDIR}"
|
||||
[ -r "${LINUXKIT_ARTIFACTS_DIR}" ] && rm -rf "${LINUXKIT_ARTIFACTS_DIR}"
|
||||
mkdir "${LINUXKIT_ARTIFACTS_DIR}"
|
||||
echo "export LINUXKIT_EXAMPLES_DIR=${RT_PROJECT_ROOT}/../../examples" >> "${LINUXKIT_TMPDIR}/env.sh"
|
||||
|
||||
if rt_label_set "gcp"; then
|
||||
|
Loading…
Reference in New Issue
Block a user