libsel4test: separately format a & b in
test_opRef: https://github.com/seL4/sel4test/pull/145#issuecomment-4192034246
This will fix the code’s assumption that a & b are the same type, instead preferring to just format each separately, and also to compare with the operator naively, which should work for our purposes.
I’ve verified locally that this allows me to compile locally with a toolchain that sets -fshort-enums, and also that simulation tests for {x86_64,aarch64,aarch32,riscv64} all pass with these changes. I’ve also tested that when it does fail it does manage to print an error correctly.
Signed-off-by: Julia Vassiliki julia.vassiliki@unsw.edu.au
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
seL4 Libraries
A collection of libraries for working on seL4.