nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b9ea2
)
tests: `grep` in skip os is now silent
author
Jean Privat
<jean@pryen.org>
Thu, 18 Dec 2014 17:40:16 +0000
(12:40 -0500)
committer
Jean Privat
<jean@pryen.org>
Thu, 18 Dec 2014 17:40:16 +0000
(12:40 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
tests/tests.sh
patch
|
blob
|
history
diff --git
a/tests/tests.sh
b/tests/tests.sh
index
88487d4
..
1a09d96
100755
(executable)
--- a/
tests/tests.sh
+++ b/
tests/tests.sh
@@
-319,7
+319,7
@@
need_skip()
# Skip by OS
os_skip_file=`uname`.skip
- if test -e $os_skip_file && echo "$1" | grep -f "$os_skip_file"; then
+ if test -e $os_skip_file && echo "$1" | grep -f "$os_skip_file" >/dev/null 2>&1; then
echo "=> $2: [skip os]"
echo >>$xml "<testcase classname='`xmlesc "$3"`' name='`xmlesc "$2"`' `timestamp`><skipped/></testcase>"
return 0