Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935368

Summary: dev-util/cppcheck-2.13.0 fails tests on x86: [test.cpp:15]: (performance) Function parameter 's' should be passed by const reference.\n
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo, x86
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=932957
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-07-02 20:06:57 UTC
Created attachment 896818 [details]
build.log and emerge --info

This failure does not repro on amd64.

99% tests passed, 1 tests failed out of 99

Total Test time (real) =   5.23 sec

The following tests FAILED:
	 39 - TestOther (Failed)
Errors while running CTest

Testing Complete
Number of tests: 212
Number of todos: 20
Tests failed: 1

/var/tmp/portage/dev-util/cppcheck-2.13.0/work/cppcheck-2.13.0/test/testother.cpp:2193(TestOther::passedByValue): Assertion failed. 
Expected: 

Actual: 
[test.cpp:15]: (performance) Function parameter 's' should be passed by const reference.\n

_____
<end of output>
Test time =   1.23 sec
----------------------------------------------------------
Test Failed.
"TestOther" end time: Jul 02 19:52 UTC
"TestOther" time elapsed: 00:00:01