This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITTED PATCH] Avoid more C++ tests.


On 03/04/2015 05:19 PM, Roland McGrath wrote:
> Missed the ones in elf/ that don't actually link with -lstdc++ but need
> C++ headers that will also be missing when libstdc++ is missing.
> 
> 
> Thanks,
> Roland
> 
> 	* elf/Makefile (tests, modules-names): Likewise for tst-unique3,
> 	tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
> 
> --- a/elf/Makefile
> +++ b/elf/Makefile
> @@ -144,7 +144,7 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
>  	 unload3 unload4 unload5 unload6 unload7 unload8 tst-global1 order2 \
>  	 tst-audit1 tst-audit2 tst-audit8 tst-audit9 \
>  	 tst-stackguard1 tst-addr1 tst-thrlock \
> -	 tst-unique1 tst-unique2 tst-unique3 tst-unique4 \
> +	 tst-unique1 tst-unique2 $(if $(CXX),tst-unique3 tst-unique4) \
>  	 tst-initorder tst-initorder2 tst-relsort1 tst-null-argv \
>  	 tst-ptrguard1
>  #	 reldep9
> @@ -205,8 +205,7 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
>  		tst-unique1mod1 tst-unique1mod2 \
>  		tst-unique2mod1 tst-unique2mod2 \
>  		tst-auditmod9a tst-auditmod9b \
> -		tst-unique3lib tst-unique3lib2 \
> -		tst-unique4lib \
> +		$(if $(CXX),tst-unique3lib tst-unique3lib2 tst-unique4lib) \
>  		tst-initordera1 tst-initorderb1 \
>  		tst-initordera2 tst-initorderb2 \
>  		tst-initordera3 tst-initordera4 \
> 

Simlarly don't like. Would rather see the tests fail instead of
being elided. Thus `make check` executing to completion, and
representing the reality of your testing.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]