Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934129 - flag-o-matic.eclass fails tests
Summary: flag-o-matic.eclass fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 09:19 UTC by Ulrich Müller
Modified: 2024-06-12 09:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2024-06-12 09:19:38 UTC
eclass/tests $ ./flag-o-matic.sh
 * Testing is-flag ...
 [ ok ]
 * Testing is-ldflag ...
 [ ok ]
 * Testing is-flagq -L ...
 [ ok ]
 * Testing is-flagq -a ...
 [ ok ]
 * Testing is-flagq -x ...
 [ ok ]
 * Testing is-ldflagq -a ...
 [ ok ]
 * Testing is-ldflagq -n=* ...
 [ ok ]
 * Testing is-ldflagq -n ...
 [ ok ]
 * Testing strip-unsupported-flags for -z=2 ...
 [ ok ]
 * Testing strip-unsupported-flags for '-B/foo' ...
 [ ok ]
 * Testing strip-unsupported-flags for '-B /foo' ...
 [ ok ]
 * Testing filter-flags basic ...
 [ ok ]
 * Testing filter-flags glob ...
 [ ok ]
 * Testing strip-flags basic ...
 * strip-flags: ADAFLAGS: changed '-foo-ADA' to ''
 * strip-flags: CFLAGS: changed '-foo-C' to ''
 * strip-flags: CPPFLAGS: changed '-foo-CPP' to ''
 * strip-flags: CXXFLAGS: changed '-foo-CXX -O999 ' to '-O2'
 * strip-flags: CCASFLAGS: changed '-foo-CCAS' to ''
 * strip-flags: FFLAGS: changed '-foo-F' to ''
 * strip-flags: FCFLAGS: changed '-foo-FC' to ''
 * strip-flags: LDFLAGS: changed '-foo-LD' to ''
 [ ok ]
 * Testing replace-flags basic ...
 [ ok ]
 * Testing replace-flags glob ...
 [ ok ]
 * Testing append-cflags basic ...
 [ ok ]
 * Testing append-cflags -DFOO='a b c' ...
 [ ok ]
 * Testing raw-ldflags ...
 [ ok ]
 * Testing test-flags-CC (valid flags) ...
 [ ok ]
 * Testing test-flags-CC (valid flags, absolute path) ...
 [ ok ]
 * Testing test-flags-CC (invalid flags) ...
 [ ok ]
 * Testing test-flags-CC (valid flags w/clang) ...
 [ ok ]
 * Testing test-flags-CC (invalid flags w/clang) ...
 [ ok ]
 * Testing test-flags-CC (gcc-valid but clang-invalid flags) ...
 [ ok ]
 * Testing test-flags-CC (unused flags w/clang) ...
 * Failed; flags are:
	ADAFLAGS=
	CFLAGS= -DFOO="a b c"
	CPPFLAGS=
	CXXFLAGS=-O0 -mcpu=good -cow
	CCASFLAGS=
	FFLAGS=
	FCFLAGS=
	LDFLAGS=-O1 --as-needed -z now
 [ !! ]