var fixReadme … var testCompiler … // TestMain allows this test binary to run as the compiler // itself, which is helpful for running script tests. // If COMPILE_TEST_EXEC_COMPILE is set, we treat the run // as a 'go tool compile' invocation, otherwise behave // as a normal test binary. func TestMain(m *testing.M) { … } func TestScript(t *testing.T) { … }