summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-10-31 22:00:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-10-31 22:00:19 +0000
commitfa81c7bf10e7556e5aa039beca8bd2699d5f0098 (patch)
tree2155411a58aa3e91e3c220b3b35c700c843d7590
parenthppa stable, #198685 (diff)
downloadhistorical-fa81c7bf10e7556e5aa039beca8bd2699d5f0098.tar.gz
historical-fa81c7bf10e7556e5aa039beca8bd2699d5f0098.tar.bz2
historical-fa81c7bf10e7556e5aa039beca8bd2699d5f0098.zip
Now with testing magic.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64
-rw-r--r--dev-libs/klibc/ChangeLog5
-rw-r--r--dev-libs/klibc/klibc-1.5.12-r1.ebuild30
-rw-r--r--dev-libs/pkcs11-helper/Manifest4
3 files changed, 34 insertions, 5 deletions
diff --git a/dev-libs/klibc/ChangeLog b/dev-libs/klibc/ChangeLog
index 711c80e26517..44da86bdd3da 100644
--- a/dev-libs/klibc/ChangeLog
+++ b/dev-libs/klibc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/klibc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/ChangeLog,v 1.63 2008/10/31 21:32:22 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/ChangeLog,v 1.64 2008/10/31 22:00:19 robbat2 Exp $
+
+ 31 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> klibc-1.5.12-r1.ebuild:
+ Now with testing magic.
31 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> klibc-1.5.12-r1.ebuild:
Bug #242454 - be sure to check both locations for kernel sources.
diff --git a/dev-libs/klibc/klibc-1.5.12-r1.ebuild b/dev-libs/klibc/klibc-1.5.12-r1.ebuild
index a7c193347603..cc5badd305a1 100644
--- a/dev-libs/klibc/klibc-1.5.12-r1.ebuild
+++ b/dev-libs/klibc/klibc-1.5.12-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.5.12-r1.ebuild,v 1.2 2008/10/31 21:32:22 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.5.12-r1.ebuild,v 1.3 2008/10/31 22:00:19 robbat2 Exp $
# Robin H. Johnson <robbat2@gentoo.org>, 12 Nov 2007:
# This still needs major work.
@@ -119,7 +119,7 @@ kernel_asm_arch() {
}
src_compile() {
- local myargs
+ local myargs="all"
local myARCH="${ARCH}" myABI="${ABI}"
# TODO: For cross-compiling
# You should set ARCH and ABI here
@@ -141,6 +141,7 @@ src_compile() {
cd "${S}"
use debug && myargs="${myargs} V=1"
+ has test $FEATURES && myargs="${myargs} test"
emake \
EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \
@@ -240,3 +241,28 @@ src_install() {
ln -snf asm-${KLIBCASMARCH} "${linkname}"
fi
}
+
+src_test() {
+ if ! tc-is-cross-compiler ; then
+ cd "${S}"/usr/klibc/tests
+ ALL_TESTS="$(ls *.c |sed 's,\.c$,,g')"
+ BROKEN_TESTS="idtest fcntl fnmatch testrand48"
+ failed=0
+ for t in $ALL_TESTS ; do
+ if has $t $BROKEN_TESTS ; then
+ echo "=== $t SKIP"
+ else
+ echo -n "=== $t "
+ ./$t </dev/null >/dev/null
+ rc=$?
+ if [ $rc -eq 0 ]; then
+ echo PASS
+ else
+ echo FAIL
+ failed=1
+ fi
+ fi
+ done
+ [ $failed -ne 0 ] && die "Some tests failed."
+ fi
+}
diff --git a/dev-libs/pkcs11-helper/Manifest b/dev-libs/pkcs11-helper/Manifest
index 1ef36bef00f8..9e1f5630f491 100644
--- a/dev-libs/pkcs11-helper/Manifest
+++ b/dev-libs/pkcs11-helper/Manifest
@@ -1,6 +1,6 @@
DIST pkcs11-helper-1.05.tar.bz2 330524 RMD160 ee7bfcd9737d21b0c52895334d4a0f9adb01ae8f SHA1 61041f28ad98f933842ad45d2b5b18b483cffcec SHA256 b60f653e69c79f8b50aa147d14fba6f1ccb7c8ad30fe7fb339549c20b2e48b0a
DIST pkcs11-helper-1.06.tar.bz2 338705 RMD160 0f599b76379ce6e481d235f0ff82f2b2cfddbed5 SHA1 5bd56d4001c4d6e0d1f60b5a467ee2490cdaf9f2 SHA256 cddcb9a31dddfbaf9f4caac08d814f5592cf619967b37305f96847d590aeb63b
-EBUILD pkcs11-helper-1.05.ebuild 1076 RMD160 c72fd2000eea851b02d8bb91b031b82a8af0d10a SHA1 d56af0af8443c145a4922526126c372bfa1f05f3 SHA256 8852ea9e115ebfaaada6afe7163e3de0d0a347ea52d0403ef70821aa85279267
+EBUILD pkcs11-helper-1.05.ebuild 1074 RMD160 cfea636f1cd31d2c3cdafcbf900bee7fae537cca SHA1 40219d2de3198a21e1cd7b492cd85b4202cb005e SHA256 131ffd376926c7e8de3423b6a51e509935f95e416fd7092e3c305fd9bef05ae4
EBUILD pkcs11-helper-1.06.ebuild 1084 RMD160 3b2771fa67631c3ad900f7bee9c151573b9b0ac7 SHA1 fa7865fae719269645b6dd08123f809fe401b52a SHA256 66184f8d57753c1406be79ffccf32f9e98ebfea6d6220e0a46f29027830d84a5
-MISC ChangeLog 2871 RMD160 ab4b1b7eec200fb47f3bc4b7093e1669b793b292 SHA1 1aa6d10e44872f9c8bd32792780879fda8345443 SHA256 490e5242ac4e6debe507c4076f4db154c0e28fb00ec7798cadb594470709009a
+MISC ChangeLog 2963 RMD160 f85962908edb6f96cf2816d58cb6c423f9764dfd SHA1 59df1c146346e474a7f4a9a6d495655d927fe14a SHA256 8e4049c8373cf30c4b611f6833ac45abbeadd5987eecf4b0fa0b01478a7ce6d5
MISC metadata.xml 223 RMD160 60042d37bd1ab492bb69a4a2c409865056edee96 SHA1 adc5a869c48b6e56c0f5b74605749607defcd494 SHA256 d5d5cae3f680dd02cd64fc62529ac5aae44be11ecc0288f6dbd224bc05c6c8bc