Lines Matching refs:tt
216 tt := &fileTests[i]
220 if path.Ext(tt.file) == ".gz" {
222 if r, err = decompress(tt.file); err == nil {
226 f, err = Open(tt.file)
229 t.Errorf("cannot open file %s: %v", tt.file, err)
233 if !reflect.DeepEqual(f.FileHeader, tt.hdr) {
234 t.Errorf("open %s:\n\thave %#v\n\twant %#v\n", tt.file, f.FileHeader, tt.hdr)
238 if i >= len(tt.sections) {
241 sh := &tt.sections[i]
243 t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, &s.SectionHeader, sh)
247 if i >= len(tt.progs) {
250 ph := &tt.progs[i]
252 t.Errorf("open %s, program %d:\n\thave %#v\n\twant %#v\n", tt.file, i, &p.ProgHeader, ph)
255 tn := len(tt.sections)
258 t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn)
260 tn = len(tt.progs)
263 t.Errorf("open %s: len(Progs) = %d, want %d", tt.file, fn, tn)
265 tl := tt.needed
271 t.Errorf("open %s: DT_NEEDED = %v, want %v", tt.file, tl, fl)