Currently the support for compiling code generated during tests is limited to the PSy layer, or standalone pieces of code (i.e. with no dependencies). We have no way of testing that the manipulated Algorithm code compiles.
Most of the Algorithm tests call the generate() method which just returns fparser1 ASTs for the Algorithm and PSy layers. Compiling this code requires that we first compile the kernel routines and there's no easy way to identify what they are at this level.
Currently the support for compiling code generated during tests is limited to the PSy layer, or standalone pieces of code (i.e. with no dependencies). We have no way of testing that the manipulated Algorithm code compiles.
Most of the Algorithm tests call the
generate()method which just returns fparser1 ASTs for the Algorithm and PSy layers. Compiling this code requires that we first compile the kernel routines and there's no easy way to identify what they are at this level.