emsdk/test
Sam Clegg 3d87d5ea81
Avoid exporting EM_CONFIG for modern SDK versions (#1110)
Newer versions of emscipten, starting all the way back in 1.39.13, can
automatically locate the `.emscripten` config file that emsdk creates so
there is no need for the explicit EM_CONFIG environment variable.  Its
redundant and adds unnessary noisce/complexity.

Really, adding emcc to the PATH is all the is needed these days.

One nice thing about this change is that it allows folks to run
whichever emcc they want to and have it just work, even if they have
configured emsdk.   Without this change, if I activate emsdk and I run
`some/other/emcc` then emsdk's `EM_CONFIG` will still be present and
override the configuration embedded in `some/other/emcc`.

e.g. in the same shell, with emsdk activated, I can run both these
commands and have them both just work as expected.

```
$ emcc --version
$ /path/to/my/emcc --version
```
2022-10-06 14:13:13 -07:00
..
test.bat Move tests to "test" directory. NFC. (#745) 2021-03-08 08:03:07 -08:00
test.py Avoid exporting EM_CONFIG for modern SDK versions (#1110) 2022-10-06 14:13:13 -07:00
test.sh Unset emsdk-related environment variable from inactive tools (#801) 2021-04-29 08:43:20 -07:00
test_activation.ps1 Avoid exporting EM_CONFIG for modern SDK versions (#1110) 2022-10-06 14:13:13 -07:00
test_bazel.ps1 Bazel Windows Support (#929) 2021-12-20 14:24:56 -05:00
test_bazel.sh Add closure example for wasm_cc_binary (#941) 2022-02-17 13:16:18 -05:00
test_bazel_mac.sh Use `.json` extension for emscripten-releases-tags.json. NFC (#870) 2021-08-25 17:21:40 -07:00
test_path_preservation.ps1 Avoid exporting EM_CONFIG for modern SDK versions (#1110) 2022-10-06 14:13:13 -07:00
test_source_env.sh Move tests to "test" directory. NFC. (#745) 2021-03-08 08:03:07 -08:00