Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291981 Details for
Bug 389931
dev-lang/vala fails tests on portage-multilib, ignoring CFLAGS when calling VALAC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vala-0.12.1-multilib-tests.patch
vala-0.12.1-multilib-tests.patch (text/plain), 1.11 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2011-11-09 05:39:30 UTC
(
hide
)
Description:
vala-0.12.1-multilib-tests.patch
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2011-11-09 05:39:30 UTC
Size:
1.11 KB
patch
obsolete
>--- a/tests/testrunner.sh >+++ b/tests/testrunner.sh >@@ -31,6 +31,12 @@ > VALAC=$topbuilddir/compiler/valac > VALAFLAGS="--vapidir $vapidir --disable-warnings --main main --save-temps -X -O0 -X -pipe -X -lm -X -Werror=return-type -X -Werror=init-self -X -Werror=implicit -X -Werror=sequence-point -X -Werror=return-type -X -Werror=uninitialized -X -Werror=pointer-arith -X -Werror=int-to-pointer-cast -X -Werror=pointer-to-int-cast" > >+# Incorporate the user's CFLAGS. Matters if the user decided to insert >+# -m32 in CFLAGS, for example. >+for cflag in ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do >+ VALAFLAGS="${VALAFLAGS} -X ${cflag}" >+done >+ > function testheader() { > if [ "$1" = "Packages:" ]; then > shift >diff --git a/tests/Makefile.am b/tests/Makefile.am >index 444dcd4..ccc3cff 100644 >--- a/tests/Makefile.am >+++ b/tests/Makefile.am >@@ -12,7 +12,7 @@ BUILT_SOURCES = \ > noinst_PROGRAMS = \ > $(NULL) > >-TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) $(srcdir)/testrunner.sh >+TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' $(srcdir)/testrunner.sh > > TESTS = \ > basic-types/integers.vala \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 389931
: 291981 |
291983
|
291985