|
From: Matthias S. <zz...@ge...> - 2015-08-10 19:54:10
|
Copy a block from tests/filter_stderr_basic --- none/tests/amd64-linux/filter_minimal | 4 ++++ none/tests/x86-linux/filter_minimal | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/none/tests/amd64-linux/filter_minimal b/none/tests/amd64-linux/filter_minimal index e69398c..e09882c 100755 --- a/none/tests/amd64-linux/filter_minimal +++ b/none/tests/amd64-linux/filter_minimal @@ -13,6 +13,10 @@ perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g' | # complete list of messages in the bash source file siglist.c. perl -n -e 'print if !/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/' | +# Remove any ": dumping core" message as the user might have a +# limit set that prevents the core dump +sed "s/\(signal [0-9]* (SIG[A-Z]*)\): dumping core/\1/" | + # Remove the size in "The main thread stack size..." message. sed "s/The main thread stack size used in this run was [0-9]*/The main thread stack size used in this run was .../" diff --git a/none/tests/x86-linux/filter_minimal b/none/tests/x86-linux/filter_minimal index e69398c..e09882c 100755 --- a/none/tests/x86-linux/filter_minimal +++ b/none/tests/x86-linux/filter_minimal @@ -13,6 +13,10 @@ perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g' | # complete list of messages in the bash source file siglist.c. perl -n -e 'print if !/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/' | +# Remove any ": dumping core" message as the user might have a +# limit set that prevents the core dump +sed "s/\(signal [0-9]* (SIG[A-Z]*)\): dumping core/\1/" | + # Remove the size in "The main thread stack size..." message. sed "s/The main thread stack size used in this run was [0-9]*/The main thread stack size used in this run was .../" -- 2.5.0 |
|
From: Florian K. <fl...@ei...> - 2015-08-11 20:41:46
|
Thanks for pointing that out. I've fixed this in r15519 in a different way. The filter_minimal scripts are no longer needed. Florian On 10.08.2015 21:53, Matthias Schwarzott wrote: > Copy a block from tests/filter_stderr_basic > --- > none/tests/amd64-linux/filter_minimal | 4 ++++ > none/tests/x86-linux/filter_minimal | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/none/tests/amd64-linux/filter_minimal b/none/tests/amd64-linux/filter_minimal > index e69398c..e09882c 100755 > --- a/none/tests/amd64-linux/filter_minimal > +++ b/none/tests/amd64-linux/filter_minimal > @@ -13,6 +13,10 @@ perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g' | > # complete list of messages in the bash source file siglist.c. > perl -n -e 'print if !/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/' | > > +# Remove any ": dumping core" message as the user might have a > +# limit set that prevents the core dump > +sed "s/\(signal [0-9]* (SIG[A-Z]*)\): dumping core/\1/" | > + > # Remove the size in "The main thread stack size..." message. > sed "s/The main thread stack size used in this run was [0-9]*/The main thread stack size used in this run was .../" > > diff --git a/none/tests/x86-linux/filter_minimal b/none/tests/x86-linux/filter_minimal > index e69398c..e09882c 100755 > --- a/none/tests/x86-linux/filter_minimal > +++ b/none/tests/x86-linux/filter_minimal > @@ -13,6 +13,10 @@ perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g' | > # complete list of messages in the bash source file siglist.c. > perl -n -e 'print if !/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/' | > > +# Remove any ": dumping core" message as the user might have a > +# limit set that prevents the core dump > +sed "s/\(signal [0-9]* (SIG[A-Z]*)\): dumping core/\1/" | > + > # Remove the size in "The main thread stack size..." message. > sed "s/The main thread stack size used in this run was [0-9]*/The main thread stack size used in this run was .../" > > |