mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
practracker: Test practracker exit status
Part of 32705.
This commit is contained in:
parent
eb55d85e75
commit
fa038e5617
@ -40,7 +40,7 @@ run_practracker() {
|
|||||||
--max-h-include-count=0 \
|
--max-h-include-count=0 \
|
||||||
--max-include-count=0 \
|
--max-include-count=0 \
|
||||||
--terse \
|
--terse \
|
||||||
"${DATA}/" "$@" || true
|
"${DATA}/" "$@" || echo "practracker exit status: $?"
|
||||||
}
|
}
|
||||||
compare() {
|
compare() {
|
||||||
# we can't use cmp because we need to use -b for windows
|
# we can't use cmp because we need to use -b for windows
|
||||||
|
@ -10,3 +10,4 @@ problem function-size b.c:bar() 5
|
|||||||
problem file-size header.h 8
|
problem file-size header.h 8
|
||||||
problem include-count header.h 4
|
problem include-count header.h 4
|
||||||
problem dependency-violation header.h 3
|
problem dependency-violation header.h 3
|
||||||
|
practracker exit status: 11
|
||||||
|
@ -2,3 +2,4 @@ Unusual pattern permitted.h in scripts/maint/practracker/testdata
|
|||||||
problem function-size a.c:i_am_a_function() 9
|
problem function-size a.c:i_am_a_function() 9
|
||||||
(warning) problem function-size a.c:another_function() 12
|
(warning) problem function-size a.c:another_function() 12
|
||||||
problem function-size b.c:foo() 4
|
problem function-size b.c:foo() 4
|
||||||
|
practracker exit status: 2
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
Unusual pattern permitted.h in scripts/maint/practracker/testdata
|
Unusual pattern permitted.h in scripts/maint/practracker/testdata
|
||||||
problem file-size a.c 45 -> 41
|
problem file-size a.c 45 -> 41
|
||||||
problem file-size z.c 100 -> 0
|
problem file-size z.c 100 -> 0
|
||||||
|
practracker exit status: 3
|
||||||
|
Loading…
Reference in New Issue
Block a user