2 ms·
The tests look much like https://github.com/JonChesterfield/EvilUnit/blob/master/evilunit_string_equal.i https://github.com/JonChesterfield/EvilUnit/blob/master
by JonChesterfield 3y ago
The tests look much like https://github.com/JonChesterfield/EvilUnit/blob/master/evilunit_string_equal.i https://github.com/JonChesterfield/EvilUnit/blob/master/evil.... That's from the self tests for the test framework. It's syntactically modelled on catch2. The name is because I built the thing out of preprocessor macros to run on freestanding c89.
The projects using code generation in that fashion are proprietary. There's a makefile at https://github.com/JonChesterfield/boring-makefile/blob/master/src/makefile https://github.com/JonChesterfield/boring-makefile/blob/mast... set up to do the src/gen/obj codegen by default structure.
Just made the ad hoc xml codegen hackery public, some examples of tests written a couple of days ago at https://github.com/JonChesterfield/xml/blob/main/tools/intset.c https://github.com/JonChesterfield/xml/blob/main/tools/intse...