On Friday 24 July 2009, Zach Welch wrote: > On Fri, 2009-07-24 at 02:25 -0700, David Brownell wrote: > > Bugfix some instruction decoding ... I've crafted asm files > > with testcases covering several new encodings in these sections > > of the ARMv7-M arch manual: > > Test cases that could be added to a test suite? I would like to get one > started for 0.3.0.
I can't quite see how to automate such tests ... testing involve compiling into something that can be used with load_image then disassembling, and comparing those outputs with the source. Disregarding various things (we have no labels in our disassembly, use CAPS for opcode names, may print constants differently etc). And for grins, compared with 'objdump -dr' output. That's not always correct, even just for the UAL-vs-not issues. _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
