Skip to content

Commit

Permalink
Fixed build failure (jemalloc warning) (bsc#1068883)
Browse files Browse the repository at this point in the history
- 4.0.0
  • Loading branch information
lslezak committed Nov 30, 2017
1 parent 227eaca commit 26a86e2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/.yardoc/
/yardoc/
/coverage/
Makefile
/Makefile.am
Makefile.in
Expand Down Expand Up @@ -30,7 +33,7 @@ tmp.*
/doc/autodocs/
/testsuite/config/
/testsuite/raw.*
/testsuite/run/
/testsuite/run/runtest.sh
/testsuite/*.exp
/testsuite/tests.ag/*.in.test
/testsuite/tmp/
Expand Down
1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-o yardoc
7 changes: 7 additions & 0 deletions package/yast2-inetd.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 30 08:46:47 UTC 2017 - lslezak@suse.cz

- Fixed build failure caused by a jemalloc warning printed on
the STDERR (bsc#1068883)
- 4.0.0

-------------------------------------------------------------------
Tue Jun 7 11:27:35 UTC 2016 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-inetd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-inetd
Version: 3.1.13
Version: 4.0.0
Release: 0
Url: https://github.com/yast/yast-inetd

Expand Down
3 changes: 3 additions & 0 deletions testsuite/run/runtest-ag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export Y2ALLGLOBAL=1
shopt -s expand_aliases
alias kick-nonerror-lines="grep -v -e ' <[0-2]> '"
alias kick-empty-lines="grep -v '^$'"
# workaround for a jemalloc issue (bsc#1068883)
alias kick-jemalloc-warning="grep -v '^<main>: warning: pthread_create failed for timer: '"
alias strip-constant-part="sed 's/^....-..-.. ..:..:.. [^)]*) //g'"
alias mask-line-numbers="sed 's/^\([^ ]* [^)]*):\)[[:digit:]]*/\1XXX/'"

Expand Down Expand Up @@ -45,6 +47,7 @@ Y=/usr/lib/YaST2/bin/y2base
Y2DIR="$AGDIR" $Y -l - 2>&1 >"$OUT_TMP" "$YCP" '("'"$IN.test"'")' testsuite \
| kick-nonerror-lines \
| kick-empty-lines \
| kick-jemalloc-warning \
| strip-constant-part \
| mask-line-numbers \
> "$ERR_TMP"
Expand Down

0 comments on commit 26a86e2

Please sign in to comment.