If a test named “Foo” fail and a test named “FooBar” fails, it looks like both will be rerun because of the failure of foo.
Exactly like what happened if ones run ctest -R Foo, Foo and FooBar will be run.
This should be improved, but I guess it’s on cmake side.
A way to improve that would be to never have a test name included within another test name.
An example of this actually happening :
pvcrs.XdmfReadStructuredGrid and pvcrs.XdmfReadStructuredGridCollection