fast script for compiling and running a core test with parameter for which one