diff --git a/test/Jamfile b/test/Jamfile new file mode 100644 index 0000000..3f6c587 --- /dev/null +++ b/test/Jamfile @@ -0,0 +1,20 @@ +subproject libs/tuple/test ; + +unit-test tuple_test_bench + : tuple_test_bench.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + +unit-test io_test + : io_test.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + +unit-test another_tuple_test_bench + : another_tuple_test_bench.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + diff --git a/test/another_tuple_test_bench.cpp b/test/another_tuple_test_bench.cpp index 47aad45..af3ab24 100644 --- a/test/another_tuple_test_bench.cpp +++ b/test/another_tuple_test_bench.cpp @@ -94,7 +94,7 @@ void foo4() A a; tuple t(1, d, a); const tuple ct = t; - + (void)ct; #ifdef E8 get<0>(ct) = 5; // can't assign to const #endif @@ -119,9 +119,10 @@ void foo4() void foo5() { tuple t; - + (void)t; tuple aaa; tuple bbb(aaa); + (void)bbb; // tuple a = t; // a = t; }