projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b46f4ef
)
tests: add STRIP_BINARIES
author
Evgeny Vereshchagin
<evvers@ya.ru>
Mon, 18 Jan 2016 06:45:20 +0000
(06:45 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Mon, 18 Jan 2016 07:27:49 +0000
(07:27 +0000)
We need a beautiful stacktraces sometimes
For example https://github.com/systemd/systemd/pull/2328
test/test-functions
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index
55d4313
..
961a625
100644
(file)
--- a/
test/test-functions
+++ b/
test/test-functions
@@
-212,6
+212,10
@@
check_result_nspawn() {
}
strip_binaries() {
+ if [[ "$STRIP_BINARIES" = "no" ]]; then
+ ddebug "Don't strip binaries"
+ return 0
+ fi
ddebug "Strip binaries"
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | xargs strip --strip-unneeded | ddebug
}