Closed vacantron closed 7 months ago
The current test driver runs on the stage-0 shecc and doesn't detect this error.
Shall we enable extra stage-1 check in CI pipeline?
Shall we enable extra stage-1 check in CI pipeline?
I think not. The stage-1 check needs to self-host first, but the current workflow only invokes the unit test.
This problem is caused by the uncovered scenario in the test driver. We can refine the test driver to detect this problem.
Considering the following test case:
The stage-1 shecc (i.e. out/shecc-stage1.elf, testing with command:
qemu-arm out/shecc-stage1.elf --no-libc <file>
) reports:The current test driver runs on the stage-0 shecc and doesn't detect this error.