1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00
guix/gnu/packages/patches/uftrace-fix-tests.patch
Arseniy Zaostrovnykh 3eb69acc89
gnu: uftrace: Update to 0.17
* gnu/packages/instrumentation.scm (uftrace): Update to 0.17
* gnu/packages/patches/uftrace-fix-tests.patch: Drop the patch for
t192_lib_name.py that has been fixed in the mean time

Change-Id: I80dc540adabbbbbec8ac5f0c096e7e973e230b27
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-04-02 20:50:14 +02:00

32 lines
1.3 KiB
Diff

Adjust test expectations to match the guix platform
--- a/tests/t251_exception4.py
+++ b/tests/t251_exception4.py
@@ -5,16 +5,18 @@ from runtest import TestBase
class TestCase(TestBase):
def __init__(self):
TestBase.__init__(self, 'libexcept-main', lang='C++', result="""
-# DURATION TID FUNCTION
- [423633] | main() {
- [423633] | XXX::XXX() {
- 30.679 us [423633] | XXX::XXX();
- 31.490 us [423633] | } /* XXX::XXX */
- [423633] | YYY::YYY() {
- 0.509 us [423633] | __cxa_allocate_exception();
- 0.541 us [423633] | std::runtime_error::runtime_error();
- 5.670 us [423633] | } /* YYY::YYY */
- 42.354 us [423633] | } /* main */
+# DURATION TID FUNCTION
+ [ 39887] | main() {
+ [ 39887] | XXX::XXX() {
+ 35.591 us [ 39887] | XXX::XXX();
+ 36.215 us [ 39887] | } /* XXX::XXX */
+ 5.617 us [ 39887] | std::runtime_error::~runtime_error();
+ [ 39887] | YYY::YYY() {
+ 0.291 us [ 39887] | __cxa_allocate_exception();
+ 0.399 us [ 39887] | std::runtime_error::runtime_error();
+ 3.683 us [ 39887] | } /* YYY::YYY */
+ 0.122 us [ 39887] | std::runtime_error::~runtime_error();
+ 48.809 us [ 39887] | } /* main */
""")
def build(self, name, cflags='', ldflags=''):