Home | History | Annotate | Download | only in gc

Lines Matching refs:testfile

44 var testfile = []testline{
205 // Compiles testfile checks that the description of lexical blocks emitted
221 src, f := gobuild(t, dir, testfile)
270 for i := range testfile {
271 tgt := testfile[i].scopes
275 t.Logf("%s // %v", testfile[i].line, out)
280 t.Logf("mismatch at line %d %q: expected: %v got: %v\n", i, testfile[i].line, tgt, scopesToString(out))
284 if testfile[i].vars != nil {
286 varsok = checkVars(testfile[i].vars, out[len(out)-1].vars)
288 t.Logf("variable mismatch at line %d %q for scope %d: expected: %v got: %v\n", i, testfile[i].line, out[len(out)-1].id, testfile[i].vars, out[len(out)-1].vars)
412 func gobuild(t *testing.T, dir string, testfile []testline) (string, *objfile.File) {
420 for i := range testfile {
421 f.Write([]byte(testfile[i].line))