Bug 7003 - eglibc-use-option-groups.patch does not exclude all glibc CXX tests when it should
Summary: eglibc-use-option-groups.patch does not exclude all glibc CXX tests when it s...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-30 16:14 UTC by Juro Bystricky
Modified: 2015-05-27 22:25 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
patch to conditionally exclude cxx tests (4.81 KB, patch)
2014-12-21 16:23 UTC, Juro Bystricky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juro Bystricky 2014-11-30 16:14:53 UTC
Some test programs written in c++ are still included in spite of "libc-cxx-tests" being omitted from DISTRO_FEATURES.
All .cc programs are compiled with g++.
g++ automatically specifies linking against the C++ library.

These are currently conditionally excluded tests (based on OPTION_EGLIBC_CXX_TESTS):

  bug-atexit3-lib.cc 
  tst-cancel24.cc
  tst-chk4.cc
  tst-chk5.cc
  tst-chk6.cc
  tst-lfschk4.cc
  tst-lfschk5.cc
  tst-lfschk6.cc

These test are at present unconditinally included, but should be conditionally 
excluded as well:

  tst-cancel24-static.cc 
  tst-unique3lib.cc
  tst-unique3lib2.cc
  tst-unique4lib.cc
  tst-unique3.cc
  tst-unique4.cc
Comment 1 Juro Bystricky 2014-12-21 16:23:49 UTC
Created attachment 2305 [details]
patch to conditionally exclude cxx tests
Comment 2 Juro Bystricky 2014-12-21 16:25:15 UTC
Currently testing the attached patch with all qemus.