Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Apr 29, 2022
1 parent 21d2c2f commit d179ff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ available tools, run `emsdk list`.
* If a tool/SDK is currently active, a star * will be shown next to it.
* If a tool/SDK is currently active, but the terminal your are calling emsdk
from does not have `PATH` and environment set up to utilize that tool, a star
in parentheses (\*) will be shown next to it. Run `emsdk_env.bat` (Windows) or
`source ./emsdk_env.sh` (Linux and OS X) to set up the environment for the
in parentheses (\*) will be shown next to it. Run `emsdkpy/emsdk_env.bat` (Windows) or
`source emsdkpy/emsdk_env.sh` (Linux and OS X) to set up the environment for the
calling terminal.

### How do I install a tool/SDK version?
Expand Down
6 changes: 3 additions & 3 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ set -e
# activated.
./emsdk install sdk-upstream-5c776e6a91c0cb8edafca16a652ee1ee48f4f6d2
./emsdk activate sdk-upstream-5c776e6a91c0cb8edafca16a652ee1ee48f4f6d2
source ./emsdk_env.sh
source emsdkpy/emsdk_env.sh
which emcc
emcc -v

# Install an older version of the SDK that requires EM_CACHE to be
# set in the environment, so that we can test it is later removed
./emsdk install sdk-fastcomp-3b8cff670e9233a6623563add831647e8689a86b
./emsdk activate sdk-fastcomp-3b8cff670e9233a6623563add831647e8689a86b
source ./emsdk_env.sh
source emsdkpy/emsdk_env.sh
which emcc
emcc -v
test -n "$EM_CACHE"
Expand All @@ -26,7 +26,7 @@ test -n "$EM_CACHE"
# of test.py.
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh --build=Release
source emsdkpy/emsdk_env.sh --build=Release
# Test that EM_CACHE was unset
test -z "$EM_CACHE"

Expand Down

0 comments on commit d179ff8

Please sign in to comment.