aboutsummaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-08-22 11:06:51 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-08-22 11:07:54 +0900
commit512e87dbb1f30b8d739be0cc5ca2d51823530afe (patch)
treeea97a3599f492c87871cf656b5fe98ad24595c64 /scripts/test
parent18d6ee9f4eec5a8b5e31eeaa5412d191c1afb742 (diff)
downloadportable-512e87dbb1f30b8d739be0cc5ca2d51823530afe.tar.gz
portable-512e87dbb1f30b8d739be0cc5ca2d51823530afe.tar.bz2
portable-512e87dbb1f30b8d739be0cc5ca2d51823530afe.zip
Enable MIPS assembly in CI
Explicitly enable assembly for the MIPS32 and MIPS64 test jobs so that the existing AES, BN, and SHA implementations are exercised by make check. Also fix the MIPS64 build to reference the generated MIPS64 assembly sources instead of the MIPS32.
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/test b/scripts/test
index 2cff531..7d82a09 100755
--- a/scripts/test
+++ b/scripts/test
@@ -172,17 +172,18 @@ elif [ "$ARCH" = "riscv64" ]; then
172 file apps/openssl/openssl 172 file apps/openssl/openssl
173 173
174elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then 174elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then
175 # MIPS assembly is disabled by default, so enable it for CI coverage.
175 if [ "$ARCH" = "mips32" ]; then 176 if [ "$ARCH" = "mips32" ]; then
176 sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ 177 sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/
177 setup_cross_compiler mips-linux-gnu 178 setup_cross_compiler mips-linux-gnu
178 179
179 ./configure --host=mips-linux-gnu 180 ./configure --host=mips-linux-gnu --enable-asm
180 LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check 181 LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check
181 else 182 else
182 sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64 183 sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64
183 setup_cross_compiler mips64el-linux-gnuabi64 184 setup_cross_compiler mips64el-linux-gnuabi64
184 185
185 ./configure --host=mips64el-linux-gnuabi64 186 ./configure --host=mips64el-linux-gnuabi64 --enable-asm
186 LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check 187 LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check
187 fi 188 fi
188 189