projects/guix·blob python-team · refs

32 lines · 1.3 KiB

1Adjust test expectations to match the guix platform
2--- a/tests/t251_exception4.py
3+++ b/tests/t251_exception4.py
4@@ -5,16 +5,18 @@ from runtest import TestBase
5 class TestCase(TestBase):
6 def __init__(self):
7 TestBase.__init__(self, 'libexcept-main', lang='C++', result="""
8-# DURATION TID FUNCTION
9- [423633] | main() {
10- [423633] | XXX::XXX() {
11- 30.679 us [423633] | XXX::XXX();
12- 31.490 us [423633] | } /* XXX::XXX */
13- [423633] | YYY::YYY() {
14- 0.509 us [423633] | __cxa_allocate_exception();
15- 0.541 us [423633] | std::runtime_error::runtime_error();
16- 5.670 us [423633] | } /* YYY::YYY */
17- 42.354 us [423633] | } /* main */
18+# DURATION TID FUNCTION
19+ [ 39887] | main() {
20+ [ 39887] | XXX::XXX() {
21+ 35.591 us [ 39887] | XXX::XXX();
22+ 36.215 us [ 39887] | } /* XXX::XXX */
23+ 5.617 us [ 39887] | std::runtime_error::~runtime_error();
24+ [ 39887] | YYY::YYY() {
25+ 0.291 us [ 39887] | __cxa_allocate_exception();
26+ 0.399 us [ 39887] | std::runtime_error::runtime_error();
27+ 3.683 us [ 39887] | } /* YYY::YYY */
28+ 0.122 us [ 39887] | std::runtime_error::~runtime_error();
29+ 48.809 us [ 39887] | } /* main */
30 """)
31
32 def build(self, name, cflags='', ldflags=''):