Disable test_gdb.PrettyPrintTests when compiled with optimizations,
these often fail on PGO builds.
This commit is contained in:
parent
9cbfa79111
commit
77ba5969d6
|
@ -265,6 +265,9 @@ class DebuggerTests(unittest.TestCase):
|
||||||
def get_sample_script(self):
|
def get_sample_script(self):
|
||||||
return findfile('gdb_sample.py')
|
return findfile('gdb_sample.py')
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(python_is_optimized(),
|
||||||
|
"Python was compiled with optimizations")
|
||||||
class PrettyPrintTests(DebuggerTests):
|
class PrettyPrintTests(DebuggerTests):
|
||||||
def test_getting_backtrace(self):
|
def test_getting_backtrace(self):
|
||||||
gdb_output = self.get_stack_trace('print 42')
|
gdb_output = self.get_stack_trace('print 42')
|
||||||
|
|
Loading…
Reference in New Issue