Lines Matching refs:line
78 line=lline[1:] if lline.startswith("!") else lline
79 if not line.strip(): continue
80 if line.strip().startswith('#'): continue
82 var=line.split(":")[0].strip()
85 nspace=len(line)-len(line.lstrip(stripstr))
86 newline=line[nspace:]
96 line=lline[1:] if lline.startswith("!") else lline
97 if not line.strip(): continue
98 if line.strip().startswith('#'):
99 newTestStr+=line+'\n'
101 newline=line[nspace:]
106 if line.strip().startswith('#'): continue
110 err="Formatting error in file "+srcfile+" at line: " +line+"\n"
116 var=line.split(":")[0].strip()
118 subnspace=len(line)-len(line.lstrip(stripstr))
124 err="Formatting subtest error in file "+srcfile+" at line: " +line+"\n"
414 line=ln.split('#')[0].rstrip()
415 if verbosity>2: print(line)
418 if not line.strip(): continue
419 lsplit=line.split(':')
421 … raise Exception("\n\nError in test harness parsing file: "+srcfile+"\nMissing : in line: "+line)
424 val=line[line.find(':')+1:].strip()
426 …raise Exception("\n\nError in test harness parsing file: "+srcfile+"\n"+var+" from: "+line+" is no…
428 if line.startswith(" "):
430 …Exception("\n\nError in test harness parsing file: "+srcfile+"\nInvalid indentation at line:"+line)
451 …aise Exception("\n\nError in test harness parsing file: "+srcfile+"\n"+var+" entered twice: "+line)