Commit Graph

93 Commits

Author SHA1 Message Date
DeathWish5 5b8c17cc2e merge master 2022-03-22 22:26:25 +08:00
Yuekai Jia 7763b9d4e0 Remove old test scripts 2022-02-23 20:46:32 +08:00
GCYYfun 07379e6641 feat: enable socket test in CI 2021-12-28 19:09:49 +08:00
elliott10 122c058c06 Adjust CI scripts/baremetal-test-fail-rv64.txt fail list
Reduce the number of CI rerun
2021-12-25 21:05:35 +08:00
Yuekai Jia 78322d6f31 Merge crates zircon-loader and linux-loader into one crate 2021-10-27 00:00:16 +08:00
Yuekai Jia 9b6c1f5928 Set `libos` as the default feature, update CI 2021-10-26 01:55:48 +08:00
Yuekai Jia 169088dc31 Move the ziron libos entry point to zCore directory 2021-10-26 01:31:22 +08:00
Yuekai Jia 806c9d104b Add linux_object::fs::rcore_fs_wrapper
And add directory zCore to cargo workspace
2021-10-26 01:31:22 +08:00
Yuekai Jia 26dd63fd5a Rewrite zCore/Makefile, use uppercase input args for `make` 2021-10-26 01:31:22 +08:00
Yuekai Jia dd835e5af7 drivers: add a mock display driver using SDL2 for libos 2021-10-02 01:00:02 +08:00
Yuekai Jia b10fc26c5b Fixed some bugs of vmar::handle_page_fault() & kernel_hal::zero_frame_addr()
And also add more passed core-tests
2021-09-10 00:01:01 +08:00
Yuekai Jia 1097f4ac1e Update libc-tests.py 2021-09-05 17:10:27 +08:00
Yu Chen a7b9766857 add 4 files "execle-env-static.exe, execle-env.exe pthread_tsd-static.exe, tls_init-static.exe" in scripts/linux/baremetal-test-fail.txt,
for CI libc-test baremetal-mode pass

ERR: didn't find the file
/libc-test/src/regression/execle-env-static.exe
/libc-test/src/regression/execle-env.exe

ERR: page fault error
/libc-test/src/functional/pthread_tsd-static.exe
/libc-test/src/functional/tls_init-static.exe
2021-09-04 10:14:01 +08:00
Yu Chen d6ef339ce2 musl-libc-test was updated, so add /libc-test/src/regression/fgets-eof.exe in scripts/linux/test-allow-failed.txt for CI libc-test in libos mode can pass 2021-09-04 08:49:23 +08:00
shzhxh c1f1f0bfe4 bug fix : workaround to resolve the problem that the result of core-test-libos CI is unstable 2021-08-31 15:15:47 +08:00
Zhenxing 3c70b6545d Update unix-core-tests.py 2021-08-28 10:24:05 +08:00
shzhxh 7d9c99e6df add core test CI 2021-08-28 10:22:55 +08:00
DeathWish5 52414c2529 delete unused code 2021-08-28 10:22:50 +08:00
DeathWish5 51027916c0 add test scripts for unix-coretests (scripts/unix-coretest*) rename 'scripts/core-tests' to 'scripts/baremetal-core-tests' 2021-08-28 10:22:35 +08:00
Yu Chen 1b29ebb0cd update linux/baremetal-test-fail.txt. Now num of failed is 55 2021-08-15 09:18:55 +08:00
Yu Chen f2bbbd6791 change LOG=warn in scripts/baremetal-libc-test-ones.py 2021-08-15 09:17:34 +08:00
Yu Chen 8cca170dae update scripts/linux/baremetal-test-fail-rv64.txt, now only 54 failed rv64 libc-test apps 2021-08-14 17:28:50 +08:00
Yu Chen cf27a8b6a8 add scripts/baremetal-libc-test-find-failed-riscv64.py for producing cripts/linux/baremetal-test-fail-rv64.txt 2021-08-14 14:35:24 +08:00
Yu Chen 8781fb3e12 update fialed app for baremetal-rv64 in baremetal-test-fail-rv64.txt 2021-08-14 13:02:46 +08:00
Yu Chen 38edbea85d update README.md for baremetal CI 2021-08-14 11:40:14 +08:00
Yu Chen c02d760302 add baremetal-libc-test-ones-riscv64.py & baremetal-test-ones-rv64.txt for some app tests 2021-08-14 10:40:37 +08:00
shzhxh 292319c5e4 add baremetal test CI for riscv 2021-08-13 21:45:31 +08:00
shzhxh 762e0df13a add test case for rv64 2021-08-13 13:51:14 +08:00
Yu Chen b632f23452 Update linux/baremetal-test-fail.txt. Now the num of failed libc-tests is 83 2021-08-10 08:05:44 +08:00
Yu Chen 11a1d25bb4 update scripts/baremetal-libc-test-ones.py 2021-08-10 03:17:21 +08:00
Yu Chen 41f083dfda add scripts for test special libc-test apps. e.g. 'cd script; python3 baremetal-libc-test-ones.py' 2021-08-09 22:33:39 +08:00
Yu Chen 7efb623730 typo fix 2021-08-09 13:05:31 +08:00
Yu Chen 4296320656 update baremetal CI 2021-08-09 11:57:56 +08:00
Yu Chen 03e3bd4c92 workaround github action's error "Failed to get "write" lock. Is another process using the image [target/x86_64/release/disk.qcow2]?"
Detail info:

make[1]: Entering directory '/home/runner/work/zCore/zCore/zCore'
cp rboot.conf target/x86_64/release/esp/EFI/Boot/rboot.conf
timeout --foreground 8s  qemu-system-x86_64 -smp 1 -machine q35 -cpu Haswell,+smap,-check,-fsgsbase -drive if=pflash,format=raw,readonly,file=../rboot/OVMF.fd -drive format=raw,file=fat:rw:target/x86_64/release/esp -drive format=qcow2,file=target/x86_64/release/disk.qcow2,id=disk,if=none -device ich9-ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -serial mon:stdio -m 4G -nic none -device isa-debug-exit,iobase=0xf4,iosize=0x04 -display none -nographic
qemu-system-x86_64: -drive format=qcow2,file=target/x86_64/release/disk.qcow2,id=disk,if=none: Failed to get "write" lock
Is another process using the image [target/x86_64/release/disk.qcow2]?
make[1]: *** [Makefile:185: baremetal-test] Error 1
make[1]: Leaving directory '/home/runner/work/zCore/zCore/zCore'

some maybe useful info:
https://github.com/hashicorp/packer/issues/10223
2021-08-09 11:00:25 +08:00
Yu Chen b36904bb7a fix bug for baremetal CI 2021-08-09 09:47:14 +08:00
Yu Chen b8f8150409 tune the baremetal CI 2021-08-09 07:32:59 +08:00
Yu Chen 346a0c54f2 fix&update baremetal x86-64 zcore for linux CI 2021-08-09 06:41:29 +08:00
Yu Chen 676d8ab0af add CI for baremetal zcore with linux x86-64 syscall using musl libc-test 2021-08-08 19:33:45 +08:00
Yu Chen 016e12333c remove two zcore core-tests apps in test-check-passed.txt for CI passing 2021-07-31 00:27:03 +08:00
DeathWish5 34b737651a ignore roundl.exe, schedule test 3 2021-07-29 21:55:39 +08:00
Runji Wang 254f36e92c fix cargo doc and libc-tests 2021-03-02 12:20:59 +08:00
Ben Pig Chu 055581d226 Merge remote-tracking branch 'rcore-os/master' into vmo 2020-11-11 14:43:47 +08:00
Runji Wang 39ff826a9d update flags for grcov. fix CI 2020-11-07 14:07:35 +08:00
Ben Pig Chu e042307f5c Make it possible to not map range immediately 2020-10-13 22:07:41 +08:00
Ben Pig Chu 486762b41b Partially protect a mapping 2020-10-11 03:59:31 +08:00
Ben Pig Chu 027c76c720 vmar.protect now changes page table mmuflags 2020-10-11 03:26:40 +08:00
Ben Pig Chu 2412575bfb vmar.*_memory should limit length with map size 2020-09-25 21:26:19 +08:00
Ben Pig Chu fcf8780222 Verify permission tests 2020-09-19 23:24:55 +08:00
Ben Pig Chu 76a4ab85c3 Adjust test set for now 2020-09-19 23:13:03 +08:00
Ben Pig Chu 3e3b86c646 Process_*_memory actual should be ptr to usize 2020-09-06 22:42:32 +08:00