Change travis test arch from riscv64 to riscv32

master
Jiajie Chen 6 years ago
parent 772ab4f37d
commit 7f36069b11

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

@ -1,10 +1,12 @@
#!/bin/bash #!/bin/bash
cd ../kernel && make sfsimg arch=riscv32 && cd ../tests
for f in *.cmd for f in *.cmd
do do
echo testing $f begin echo testing $f begin
( (
cd ../kernel 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=$! pid=$!

Loading…
Cancel
Save