File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,27 @@ jobs:
49
49
qemu-system-x86_64 --version
50
50
51
51
- name : Run usertests in RISC-V
52
- run : cd os && make run TEST=1
52
+ run : cd os && make run
53
53
timeout-minutes : 10
54
54
55
55
- name : Run usertests in AArch64
56
- run : cd os && make run TEST=1 ARCH=aarch64
56
+ run : cd os && make run ARCH=aarch64
57
57
timeout-minutes : 10
58
58
59
59
- name : Run usertests in x86_64
60
- run : cd os && make run TEST=1 ARCH=x86_64
60
+ run : cd os && make run ARCH=x86_64
61
61
timeout-minutes : 10
62
62
63
- # - name: Run usertests in LoongArch64
64
- # run: |
65
- # trap 'exit 0' SIGTERM
66
- # cd os && make run TEST=1 ARCH=loongarch64
67
- # timeout-minutes: 2
68
-
63
+ - name : Run usertests in loongarch64
64
+ run : |
65
+ cd os
66
+ (make run ARCH=loongarch64 & echo $! > pidfile) | while IFS= read -r line
67
+ do
68
+ echo "$line"
69
+ if echo "$line" | grep -q "DONE"
70
+ then
71
+ kill $(cat pidfile)
72
+ wait $(cat pidfile)
73
+ exit 0
74
+ fi
75
+ done
You can’t perform that action at this time.
0 commit comments