From 5a613464fa15c0960b418322f592a24b9e0f7455 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 18 Jan 2016 06:45:20 +0000 Subject: tests: add STRIP_BINARIES We need a beautiful stacktraces sometimes For example https://github.com/systemd/systemd/pull/2328 --- test/test-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/test-functions b/test/test-functions index 55d43134ea..961a6254d8 100644 --- 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 } -- cgit v1.2.3-54-g00ecf