Opened 14 years ago

Closed 14 years ago

#2573 closed Patches (duplicate)

run_test=foo does not filter for foo in non-MSVC and non-BORLAND compilers

Reported by: Eric Prud'hommeaux <eric+boost@…> Owned by: Gennadiy Rozental
Milestone: Boost 1.38.0 Component: test
Version: Boost 1.36.0 Severity: Problem
Keywords: test filter Cc:

Description

Running specific test units selected by their name didn't work on my linux box running g++ 4.3.2 . (I'm using 1_36_0, but this problem appears to remain in the TRUNK.)

The protective code around the string tokenizer requires BOOST_WORKAROUND( BOOST_MSVC, >= 1300) , which I expect is unset in non-MSVC environments. I switched to assuming that it works in other envs and it worked for me.

Attachments (2)

unit_test_main.ipp-BOOST_MSVC.diff (594 bytes ) - added by Eric Prud'hommeaux <eric+boost@…> 14 years ago.
patch to limit on MSVC workaround level *only* on MSVC
unit_test_main.ipp-BOOST_MSVC.2.diff (584 bytes ) - added by Eric Prud'hommeaux <eric+boost@…> 14 years ago.
patch to limit on MSVC workaround level *only* on MSVC

Download all attachments as: .zip

Change History (4)

by Eric Prud'hommeaux <eric+boost@…>, 14 years ago

patch to limit on MSVC workaround level *only* on MSVC

comment:1 by Eric Prud'hommeaux <eric+boost@…>, 14 years ago

Component: Nonetest
Keywords: boost::test removed
Owner: set to Gennadiy Rozental

by Eric Prud'hommeaux <eric+boost@…>, 14 years ago

patch to limit on MSVC workaround level *only* on MSVC

comment:2 by Gennadiy Rozental, 14 years ago

Resolution: duplicate
Status: newclosed

Fixed Already in 1.37

Note: See TracTickets for help on using tickets.