mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: cppcheck: Fix tests on non-x86 systems.
* gnu/packages/check.scm (cppcheck)[arguments]: Add a phase to adjust the expected output from some tests to match the adjusted upstream output. Change-Id: I4953f79479a2192fa1a428b4e2988729a05be679
This commit is contained in:
parent
c4d76205b6
commit
3a068fcbb3
1 changed files with 11 additions and 1 deletions
|
|
@ -833,7 +833,17 @@ format.")
|
|||
(arguments
|
||||
'(#:parallel-tests? #f
|
||||
#:configure-flags '("-DBUILD_TESTS=ON"
|
||||
"-DUSE_BUNDLED_TINYXML2=OFF")))
|
||||
"-DUSE_BUNDLED_TINYXML2=OFF")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-testcondition-test
|
||||
(lambda _
|
||||
(substitute* "test/testcondition.cpp"
|
||||
(("test.cpp:4\\] -> \\[test.cpp:6")
|
||||
"test.cpp:4:25] -> [test.cpp:6:18")
|
||||
(("test.cpp:3\\] -> \\[test.cpp:5(.*false)"_ rest)
|
||||
(string-append "test.cpp:3:22] -> [test.cpp:5:22" rest
|
||||
" [knownConditionTrueFalse]"))))))))
|
||||
(inputs
|
||||
(list tinyxml2))
|
||||
(home-page "https://cppcheck.sourceforge.io")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue