a19c3f75b3
Instead of compiling in lots of binary data, implement a declarative test registry which creates unit tests from a pile of binary files and some JSON metadata. This allows to drop in more tests without recompiling, but still allows you to select a single test to run with a command like one of these: - qa_pcbnew -t AllegroBlock/CutiePi_V2_3_v166/Header - qa_pcbnew -t AllegroBlocks/*/Header - qa_pcbnew -t AllegroBlocks/*/Block_0x20* At static init time, the tests are constructed so that the test names can be known. The rest of the test consstruction from the JSON, as well as the load of test data itself, is deferred until the actual test run.