There's something like that already, just not used in the regressions directory. . Check under tests/kernel. There's a launcher that takes in a .cl file.