packages: mksh/mksh.spec - turns out there is a option for skipping tty-usi...
arekm
arekm at pld-linux.org
Thu Jul 7 23:05:41 CEST 2011
Author: arekm Date: Thu Jul 7 21:05:41 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- turns out there is a option for skipping tty-using tests, so no need for awk
---- Files affected:
packages/mksh:
mksh.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: packages/mksh/mksh.spec
diff -u packages/mksh/mksh.spec:1.24 packages/mksh/mksh.spec:1.25
--- packages/mksh/mksh.spec:1.24 Thu Jul 7 23:02:34 2011
+++ packages/mksh/mksh.spec Thu Jul 7 23:05:36 2011
@@ -98,14 +98,10 @@
# skip some tests if not on terminal
if ! tty -s; then
-do_tests=$(awk '
-/^---/ { if (need_ctty == 0) { print name; }; need_ctty=0; }
-/^name:/ { name=$2; }
-/^need-ctty:/ { need_ctty=1; }
-' check.t)
+ skip_tests="-C regress:no-ctty"
fi
-%{?with_tests:./test.sh -v $do_tests}
+%{?with_tests:./test.sh -v $skip_tests}
mv mksh out/mksh.dynamic
%if %{with static}
@@ -114,7 +110,7 @@
LDFLAGS="%{rpmldflags} -static" \
sh ./Build.sh -Q -r -j
-%{?with_tests:./test.sh -v $do_tests}
+%{?with_tests:./test.sh -v $skip_tests}
mv mksh out/mksh.static
%endif
@@ -166,6 +162,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2011/07/07 21:05:36 arekm
+- turns out there is a option for skipping tty-using tests, so no need for awk
+
Revision 1.24 2011/07/07 21:02:34 arekm
- rel 3; test suite passes on builders
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mksh/mksh.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list