1
0
mirror of https://github.com/rcore-os/rCore.git synced 2025-01-18 17:07:04 +04:00

Change travis test arch from riscv64 to riscv32

This commit is contained in:
Jiajie Chen 2019-03-27 07:28:18 +08:00
parent 772ab4f37d
commit 7f36069b11
2 changed files with 4 additions and 2 deletions

View File

@ -103,6 +103,6 @@ before_script:
script:
- cd user && make sfsimg arch=$ARCH && cd ..
- cd kernel && make build arch=$ARCH $OPTS && cd ..
- if [ $ARCH = riscv64 ]; then
- if [ $ARCH = riscv32 ]; then
cd tests && ./test.sh && cd ..;
fi

View File

@ -1,10 +1,12 @@
#!/bin/bash
cd ../kernel && make sfsimg arch=riscv32 && cd ../tests
for f in *.cmd
do
echo testing $f begin
(
cd ../kernel
exec timeout 10s make runtest arch=riscv64 init=$(cat ../tests/$f)
make build arch=riscv32 init=$(cat ../tests/$f)
exec timeout 10s make justruntest arch=riscv32 init=$(cat ../tests/$f)
) &
pid=$!