Bug 7003

Summary: eglibc-use-option-groups.patch does not exclude all glibc CXX tests when it should
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Juro Bystricky <juro.bystricky>
Component: coreAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
patch to conditionally exclude cxx tests none

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.