Lines Matching full:self
164 def checkResult(self, out, err, stdErrResult, stdOutResult=""):
169 self.assertEqual(True, compareOuput(a1,a2,b1,b2))
171 def compileCheck(self, args, stdErrResult, stdOutResult="",
178 self.checkResult(out, err, stdErrResult, stdOutResult)
181 self.checkResult(out, "", stdErrResult, stdOutResult)
183 def compileCheckArm(self, args, result):
184 self.assertEqual(compileArm(args), result)
186 def testCompileReturnVal(self):
187 self.compileCheck(["data/returnval-ansi.c"], "")
189 def testCompileOTCCANSI(self):
192 self.compileCheck(["data/otcc-ansi.c"], "", "", ['x86'])
194 def testRunReturnVal(self):
195 self.compileCheck(["-R", "data/returnval-ansi.c"],
198 def testContinue(self):
199 self.compileCheck(["-R", "data/continue.c"],
202 def testStringLiteralConcatenation(self):
203 self.compileCheck(["-R", "data/testStringConcat.c"],
206 def testRunOTCCANSI(self):
209 self.compileCheck(["-R", "data/otcc-ansi.c", "data/returnval.c"],
213 def testRunOTCCANSI2(self):
216 self.compileCheck(["-R", "data/otcc-ansi.c", "data/otcc.c", "data/returnval.c"],
219 def testRunConstants(self):
220 self.compileCheck(["-R", "data/constants.c"],
225 def testRunFloat(self):
226 self.compileCheck(["-R", "data/float.c"],
241 def testRunFlops(self):
242 self.compileCheck(["-R", "data/flops.c"],
305 def testCasts(self):
306 self.compileCheck(["-R", "data/casts.c"],
321 def testChar(self):
322 self.compileCheck(["-R", "data/char.c"], """Executing compiled code:
326 def testTypedef(self):
327 self.compileCheck(["-R", "data/typedef.c"], """Executing compiled code:
332 def testPointerArithmetic(self):
333 self.compileCheck(["-R", "data/pointers.c"], """Executing compiled code:
339 def testRollo3(self):
340 self.compileCheck(["-R", "data/rollo3.c"], """Executing compiled code:
343 def testFloatDouble(self):
344 self.compileCheck(["-R", "data/floatdouble.c"], """Executing compiled code:
347 def testIncDec(self):
348 self.compileCheck(["-R", "data/inc.c"], """Executing compiled code:
360 def testIops(self):
361 self.compileCheck(["-R", "data/iops.c"], """Executing compiled code:
388 def testFilm(self):
389 self.compileCheck(["-R", "data/film.c"], """Executing compiled code:
394 def testMacros(self):
395 self.compileCheck(["-R", "data/macros.c"], """Executing compiled code:
400 def testpointers2(self):
401 self.compileCheck(["-R", "data/pointers2.c"], """Executing compiled code:
410 def testassignmentop(self):
411 self.compileCheck(["-R", "data/assignmentop.c"], """Executing compiled code:
431 def testcomma(self):
432 self.compileCheck(["-R", "data/comma.c"], """Executing compiled code:
441 def testBrackets(self):
442 self.compileCheck(["-R", "data/brackets.c"], """Executing compiled code:
448 def testShort(self):
449 self.compileCheck(["-R", "data/short.c"], """Executing compiled code:
453 def testAssignment(self):
454 self.compileCheck(["-R", "data/assignment.c"], """Executing compiled code:
458 def testArray(self):
459 self.compileCheck(["-R", "data/array.c"], """Executing compiled code:
480 def testDefines(self):
481 self.compileCheck(["-R", "data/defines.c"], """Executing compiled code:
485 def testFuncArgs(self):
486 self.compileCheck(["-R", "data/funcargs.c"], """Executing compiled code:
490 def testB2071670(self):
491 self.compileCheck(["-R", "data/b2071670.c"], """Executing compiled code:
495 def testStructs(self):
496 self.compileCheck(["-R", "data/structs.c"], """Executing compiled code:
503 def testAddressOf(self):
504 self.compileCheck(["-R", "data/addressOf.c"], """Executing compiled code: