public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/castxml/, dev-libs/castxml/files/
@ 2022-12-24  9:49 Thomas Beierlein
  0 siblings, 0 replies; only message in thread
From: Thomas Beierlein @ 2022-12-24  9:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3a7b96de7b03ad7410198a069c551648e82720ad
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 09:46:50 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 09:49:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7b96de

dev-libs/castxml: Fix test code

Closes: https://bugs.gentoo.org/882475
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 dev-libs/castxml/castxml-0.4.5.ebuild          |  4 ++++
 dev-libs/castxml/files/castxml-fix-tests.patch | 14 ++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/dev-libs/castxml/castxml-0.4.5.ebuild b/dev-libs/castxml/castxml-0.4.5.ebuild
index 3a1a814b7346..7eee74c7e25a 100644
--- a/dev-libs/castxml/castxml-0.4.5.ebuild
+++ b/dev-libs/castxml/castxml-0.4.5.ebuild
@@ -28,6 +28,10 @@ BDEPEND="
 		man? ( dev-python/sphinx )
 	"
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-fix-tests.patch
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DCastXML_INSTALL_DOC_DIR="share/doc/${P}"

diff --git a/dev-libs/castxml/files/castxml-fix-tests.patch b/dev-libs/castxml/files/castxml-fix-tests.patch
new file mode 100644
index 000000000000..db8cec1eef02
--- /dev/null
+++ b/dev-libs/castxml/files/castxml-fix-tests.patch
@@ -0,0 +1,14 @@
+diff --git a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt
+index fb9ae02..33b3df9 100644
+--- a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt
++++ b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt
+@@ -1 +1 @@
+-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i]
++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-
+diff --git a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt
+index fb9ae02..33b3df9 100644
+--- a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt
++++ b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt
+@@ -1 +1 @@
+-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i]
++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-24  9:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24  9:49 [gentoo-commits] repo/gentoo:master commit in: dev-libs/castxml/, dev-libs/castxml/files/ Thomas Beierlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox