This code doesn't seem to be necessary anymore.
llvm-svn: 370702
mydir = AbstractBase.GenericTester.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_double_type(self):
"""Test that double-type variables are displayed correctly."""
self.build_and_run('double.cpp', set(['double']))
# test/types failures for Test*TypesExpr.py: element offset computed wrong
# and sign error?
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_double_type(self):
"""Test that double-type variable expressions are evaluated correctly."""
self.build_and_run_expr('double.cpp', set(['double']))
mydir = AbstractBase.GenericTester.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_float_type(self):
"""Test that float-type variables are displayed correctly."""
self.build_and_run('float.cpp', set(['float']))
# test/types failures for Test*TypesExpr.py: element offset computed wrong
# and sign error?
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_float_type(self):
"""Test that float-type variable expressions are evaluated correctly."""
self.build_and_run_expr('float.cpp', set(['float']))
mydir = AbstractBase.GenericTester.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_char_type(self):
"""Test that char-type variables are displayed correctly."""
self.build_and_run('char.cpp', set(['char']), qd=True)
mydir = AbstractBase.GenericTester.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- AbstractBase.GenericTester.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
-
def test_char_type(self):
"""Test that char-type variable expressions are evaluated correctly."""
self.build_and_run_expr('char.cpp', set(['char']), qd=True)
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
- # disable "There is a running process, kill it and restart?" prompt
- self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(
- lambda: self.runCmd("settings clear auto-confirm"))
+
# Find the line number to break for main.c.
self.line = line_number('recursive_type_main.cpp',
'// Test at this line.')