Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#12216 closed Bugs (duplicate)

Data driven test compile failure when taking a join of grids

Reported by: jabenze@… Owned by: Gennadiy Rozental
Milestone: Boost 1.69 Component: test
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

The title pretty much says it all. Here's a reproducer:

//main.cpp
#include<boost/test/unit_test.hpp>
#include<boost/test/data/test_case.hpp>

namespace bd = boost::unit_test::data;

BOOST_DATA_TEST_CASE(testname, (bd::make(1) * bd::make(2)) + (bd::make(3) * bd::make(4)), arg1, arg2){}

Produced with gcc 5.2.0 with command line

$ gcc -std=c++14 -c main.cpp -o main.o

Change History (6)

comment:1 by jabenze@…, 6 years ago

Pull request of fix:

https://github.com/boostorg/test/pull/100

Note that this pull request uses some c++14 features...I saw c++14 features used in grid.hpp (with auto return type) so I went ahead and used them myself. If these changes are in places that support older standards, this pull request won't work as is...just let me know.

comment:2 by jabenze@…, 6 years ago

It looks like joins of zips are broken in the same way joins of grids are, but this fix should work for both (I didn't actually unfix join to test though, just eyeballing it)

comment:3 by Raffi Enficiaud, 6 years ago

Component: Nonetest
Owner: set to Gennadiy Rozental

comment:4 by Raffi Enficiaud, 6 years ago

Pull request breaking other tests. In the current design, joins are not creating any temporary and grids are creating temporary by design.

comment:5 by Raffi Enficiaud, 4 years ago

Resolution: duplicate
Status: newclosed

Fixed, see #13380

comment:6 by Raffi Enficiaud, 4 years ago

Milestone: To Be DeterminedBoost 1.69
Note: See TracTickets for help on using tickets.