-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I tried to build emv-utils from Arch Linux AUR: https://aur.archlinux.org/packages/emv-utils-git
$ git clone https://aur.archlinux.org/emv-utils-git.git
$ cd emv-utils-git/
$ makepkg -si
and test #57 failed:
1/78 Test #57: emv_debug_test .............................***Failed Required regular expression not found. Regex=[\[APP\] asdf=1337[
]\[APP\] tests/emv_debug_test.c\[46\]: This is a trace message: DEADBEEF[
]
] 0.02 sec
[APP] asdf=1337
[APP] /usr/src/debug/emv-utils-git/emv-utils/tests/emv_debug_test.c[46]: This is a trace message: DEADBEEF
The problem is the mismatch of the paths: tests/emv_debug_test.c in the regex and /usr/src/debug/emv-utils-git/emv-utils/tests/emv_debug_test.c on my system.
Changing this line:
emv-utils/tests/CMakeLists.txt
Line 18 in 952fe3b
| "\\[APP\\] tests/emv_debug_test\.c\\[46\\]: This is a trace message: DEADBEEF[\r\n]" |
to
"\\[APP\\] .*tests/emv_debug_test\.c\\[46\\]: This is a trace message: DEADBEEF[\r\n]"
solves this issue.
Is this the correct solution?
Metadata
Metadata
Assignees
Labels
No labels