0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-28 11:22:39 +00:00
Files
termux-packages/packages/emscripten/tests/0002-emscripten-tests-third-party-core0.sh
2025-08-04 15:28:33 +08:00

18 lines
639 B
Bash
Executable File

#!/bin/sh
# Emscripten Test Suite
# https://emscripten.org/docs/getting_started/test-suite.html
# https://github.com/emscripten-core/emscripten/pull/13493
# https://github.com/emscripten-core/emscripten/issues/9098
set -e
#pkg install -y emscripten-tests-third-party
pkg install -y cmake libxml2 libxslt ndk-sysroot openjdk-17 python-lxml python-numpy python-pip rust
cd "${PREFIX}/opt/emscripten"
sed -e "s|^lxml.*|lxml|g" -i requirements-dev.txt
CFLAGS="-Wno-implicit-function-declaration" MATHLIB="m" pip install -r requirements-dev.txt
npm install --omit=optional
export EMTEST_SKIP_V8=1
test/runner core0 skip:core0.test_bigswitch