blob: 523eaa8312a3f272e03be6324d0af3e063cf55e9 [file] [log] [blame]
#!/usr/bin/env bash
echo "test the standard workflow (as close as possible to how a user would do it, in the shell)"
set -x
set -e
OLD_PATH=$PATH
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh --build=Release
# On mac and windows python3 should be in the path and point to the
# bundled version.
which python3
emcc -v
# Check that no path elements were removed
python3 scripts/check_path.py "$OLD_PATH"