diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-02 04:57:39 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-02 04:57:39 +0000 |
commit | e7b63c3f3db0923db78d3eeeee6b690131881614 (patch) | |
tree | e2f00f752885e2799832c02da30e510dadbca295 /dev-libs/tinyxml2 | |
parent | http://my.opera.com/desktopteam/blog/2012/06/01/oopp-windows (diff) | |
download | historical-e7b63c3f3db0923db78d3eeeee6b690131881614.tar.gz historical-e7b63c3f3db0923db78d3eeeee6b690131881614.tar.bz2 historical-e7b63c3f3db0923db78d3eeeee6b690131881614.zip |
Properly die if tests fail.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/tinyxml2')
-rw-r--r-- | dev-libs/tinyxml2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/tinyxml2/Manifest | 19 | ||||
-rw-r--r-- | dev-libs/tinyxml2/files/tinyxml2-1.0.1_p20120531-test-return-status.patch | 9 | ||||
-rw-r--r-- | dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild | 9 |
4 files changed, 31 insertions, 13 deletions
diff --git a/dev-libs/tinyxml2/ChangeLog b/dev-libs/tinyxml2/ChangeLog index b81227c56a2a..d9ffdef9daaa 100644 --- a/dev-libs/tinyxml2/ChangeLog +++ b/dev-libs/tinyxml2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/tinyxml2 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml2/ChangeLog,v 1.1 2012/05/31 10:16:02 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml2/ChangeLog,v 1.2 2012/06/02 04:57:39 radhermit Exp $ + + 02 Jun 2012; Tim Harder <radhermit@gentoo.org> + tinyxml2-1.0.1_p20120531.ebuild, + +files/tinyxml2-1.0.1_p20120531-test-return-status.patch: + Properly die if tests fail. *tinyxml2-1.0.1_p20120531 (31 May 2012) diff --git a/dev-libs/tinyxml2/Manifest b/dev-libs/tinyxml2/Manifest index d7004c867bdf..a46249faa9b9 100644 --- a/dev-libs/tinyxml2/Manifest +++ b/dev-libs/tinyxml2/Manifest @@ -1,19 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 +AUX tinyxml2-1.0.1_p20120531-test-return-status.patch 199 RMD160 a8ebe09d04a0b45c344cd8e8762cf4d74ee408df SHA1 f40ad70b8371e13fb654b8c162623e4b1a78bf36 SHA256 5ef31e4baeee2bd0aaa4d974608debfb5249196bb5d021e9169321d33efa9f7a AUX tinyxml2-1.0.1_p20120531-test.patch 608 RMD160 72df68ae9b7d4dd286b432d0e8b68a328e730397 SHA1 09337144eccb773cf530ae9c3ff6f805730f1c74 SHA256 2e025e0bdec5dca80fcdd6b2f5a53a3b892fdb53189599fd7ebc75dbb1836013 DIST tinyxml2-1.0.1_p20120531.tar.bz2 87754 RMD160 359f52c4dbbe43bc7aa9e336e18076c4a44fd4d9 SHA1 60317793095756a2768a369e89fa8d101aa4af67 SHA256 e5b549e8417c93bd565236a75b6d0678e66fcc6bea6ab3d1e1278a8d63fe5199 -EBUILD tinyxml2-1.0.1_p20120531.ebuild 759 RMD160 b1e6ae92b2afe27cf4fff871cf529ceae8ddc0cb SHA1 6b7ebab73cd8da4e586af17cdb6932dea01ea883 SHA256 ee78199e8e5b601373b523a38b745dba2865ddef45773a4f70b3285a38d0d221 -MISC ChangeLog 491 RMD160 a9f8f10bbf49c90974d8f713175b3fc4b238270b SHA1 234681e96543180f115b0129954d273a484957e9 SHA256 06e35767c6166759a5abfca353dec8b2f93771f2a9e468ea9861a0f09b0c9871 +EBUILD tinyxml2-1.0.1_p20120531.ebuild 827 RMD160 bd33f33317b5359e09abe295d43c38c94b124c47 SHA1 04cef4d14dd0e30bb1027150dc3b3da421947404 SHA256 331191840d806962b8d09edd6eaedda4323599c418a11512370bc412f73089f4 +MISC ChangeLog 666 RMD160 b285806f2bda8c50c1a3ea83cb3d102d014f354e SHA1 7643e8a2f7f87662d3eb410aad40d788ef487ea1 SHA256 9ba4541118342b362590b1148da85835bdcae752ebae62f1b8207d393d1c8b19 MISC metadata.xml 252 RMD160 b5632c55b46d550cdd6d8833fb6b2f8eaf0516a3 SHA1 3f0b0773b38e82acacb2efa9381fd487e505ce18 SHA256 1a621690f3b43add940543e54b245abef11bdc703b815d738848188d1e7deb2e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCgAGBQJPx0TrAAoJEEqz6FtPBkyjISIH/jOWG8BiqQMwNft7eDC6WPuS -VDBbUs1vMsiSpBVnefRuGAr5IMOyhSeOnmJHwXQ+rgEXObhjLWnsR38mFgjMwGQR -G1v1Nk/294mmS5WpgO4ocaBe70XymX9H2p+8nwiXQoNHhjPPox9qtVSfC9iv0yOl -l69yDrgxxadpUNYFTzfugiz/ursW9JhSKS9hSwfGDIj69ANshqHVAvAwdcVmAcw7 -oQX5LiirREfUIc6lBP7Mnxyofb0BOdRJZDD1o/8tmS5Ctr1AfY8eqf+TKrIMgfl+ -VWk6quaurmRMRAsVS3bYhwQEILpo18g8E8k3O5IvvE4p7VtYFLaLYiCG+yEfF40= -=hTnQ +iQEcBAEBCgAGBQJPyZ1MAAoJEEqz6FtPBkyjTJcH/2egHFcwqGhvcDzCQuw7d/05 +c9MCDtTtwLGu4nsXAqRplZ2TGtrcdQ0gFDNlESNFYPtwjJ+2ugHI5KHY72vibo9b +pVXJreu5tubP8tGLzx0Zt/HesHB/Qh2IrS3voxm+GL8ey3tmeqx+3azOZYLrPrTK +0hPz/rlBbg4eyvSMElgNJu0h0LIYiRTbAK2RJdt0WI8wGx5CVR2V3zkTtLdi3vlz +clfZ14yR/MdEW825nXTMyDxPpWbIqt7IvKYJuLD19HWwKmJlFtTVMVvo0h0WE0QR +LHQBkBIO8O9bKETZM5ZgWs7knzlotdKk1nz7GFqLdRV5+Bt7LSalMS5ZjX/Pl2g= +=1Y9u -----END PGP SIGNATURE----- diff --git a/dev-libs/tinyxml2/files/tinyxml2-1.0.1_p20120531-test-return-status.patch b/dev-libs/tinyxml2/files/tinyxml2-1.0.1_p20120531-test-return-status.patch new file mode 100644 index 000000000000..49d7d8332e3b --- /dev/null +++ b/dev-libs/tinyxml2/files/tinyxml2-1.0.1_p20120531-test-return-status.patch @@ -0,0 +1,9 @@ +--- tinyxml2-1.0.1_p20120531/xmltest.cpp ++++ tinyxml2-1.0.1_p20120531/xmltest.cpp +@@ -895,5 +895,5 @@ + #endif
+
+ printf ("\nPass %d, Fail %d\n", gPass, gFail);
+- return 0;
++ return gFail;
+ }
diff --git a/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild b/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild index e7502588d959..13ae4ee02db7 100644 --- a/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild +++ b/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild,v 1.1 2012/05/31 10:16:02 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml2/tinyxml2-1.0.1_p20120531.ebuild,v 1.2 2012/06/02 04:57:39 radhermit Exp $ EAPI=4 @@ -15,7 +15,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs test" -PATCHES=( "${FILESDIR}"/${P}-test.patch ) +PATCHES=( + "${FILESDIR}"/${P}-test.patch + "${FILESDIR}"/${P}-test-return-status.patch +) src_configure() { local mycmakeargs=( @@ -27,5 +30,5 @@ src_configure() { src_test() { cmake-utils_src_test - ./test + ./test || die "Tests failed" } |