aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-env
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-01 19:09:18 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-02 13:39:30 +0200
commit52fd7b7d77d5d922e0a2ca3c28785a6ad450b49b (patch)
tree078ed471ef37c15f74c79f23f4100efd333840ca /tools/syz-env
parent2b26ad000f9259381f3a6f7526660a3444784707 (diff)
tools: add syz-big-env
On top of syz-env it provides akaros/fuchsia/netbsd toolchains and gcloud sdk. With this it's possible to run dashboard/app tests on CI and locally and test executor build and pkg/{csource,cover} for these OSes. Update #1765
Diffstat (limited to 'tools/syz-env')
-rwxr-xr-xtools/syz-env6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/syz-env b/tools/syz-env
index e8686cf6c..182db8752 100755
--- a/tools/syz-env
+++ b/tools/syz-env
@@ -47,6 +47,10 @@ if [ "$COMMAND" == "" ]; then
fi
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)"
+IMAGE="env"
+if [ "$(basename -- "$0")" == "syz-big-env" ]; then
+ IMAGE="big-env"
+fi
# Run everything as the host user, this is important for created/modified files.
docker run \
@@ -62,4 +66,4 @@ docker run \
--env GITHUB_SHA \
--env CI \
${DOCKERARGS[@]} \
- gcr.io/syzkaller/env -c "$COMMAND"
+ gcr.io/syzkaller/${IMAGE} -c "$COMMAND"