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:
parent
772ab4f37d
commit
7f36069b11
@ -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
|
||||
|
@ -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=$!
|
||||
|
Loading…
Reference in New Issue
Block a user