added optional postcompile_script to be run after all tests are completed