14 Star 217 Fork 312

kikiyu/chcore-lab

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
grade-lab2 549 Bytes
一键复制 编辑 原始数据 按行查看 历史
dongzy 提交于 2020-11-24 19:53 +08:00 . lab2
#!/usr/bin/env python3
import re
from gradelib import *
r = Runner(save("chcore.out"),
stop_breakpoint("break_point"))
@test(0, "running chcore")
def test_chcore():
r.run_qemu(10)
@test(30, parent=test_chcore)
def test_buddy():
r.file_match("./tests/mm/buddy/buddy.out","0 failures")
@test(40, parent=test_chcore)
def test_page_table():
r.file_match("./tests/mm/page_table/page_table.out","0 failures")
@test(30, parent=test_chcore)
def test_kernel_space_check():
r.match("\[INFO\] mm init finished")
run_tests()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/ipads-lab/chcore-lab.git
git@gitee.com:ipads-lab/chcore-lab.git
ipads-lab
chcore-lab
chcore-lab
lab5

搜索帮助