WIP: Assert failure tests output with RegEx
Suggestion for #1078 using Meson. I added a new failure test harness that could either replace the existing Invalid Code
-and-.test
-file one, or coexist with it.
Instead of a list of source files in meson.build
, the new harness requires to declare a dict of source files and RegEx'es to assert the compiler output. Existing failure tests can simply be migrated by renaming the .test
-file to a .vala
-file, removing the Invalid Code
line and using the .*
RegEx (or a more sophisticated one of course).