Skip to content
Snippets Groups Projects
Commit 275c824f authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Also remove testfconstruct.cc and all associated tests

parent 31625a0b
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,6 @@ set(TESTS
shared_ptrtest_config
singletontest
streamtest
testfconstruct
testfloatcmp
tuplestest_config
tupleutilitytest
......@@ -48,9 +47,7 @@ set(COMPILEFAILTESTS
check_fvector_size_fail1
check_fvector_size_fail2
genericiterator_compile_fail
nullptr-test-fail
testfconstruct_fail1
testfconstruct_fail2)
nullptr-test-fail)
set(TESTPROGS ${TESTS} ${FAILTESTS})
......@@ -161,15 +158,6 @@ add_executable("testdebugallocator_fail5" testdebugallocator.cc)
target_link_libraries(testdebugallocator_fail5 dunecommon)
set_target_properties(testdebugallocator_fail5 PROPERTIES COMPILE_DEFINITIONS "FAILURE5;EXPECTED_SIGNAL=SIGSEGV")
add_executable("testfconstruct" EXCLUDE_FROM_ALL testfconstruct.cc)
set_target_properties(testfconstruct PROPERTIES COMPILE_FLAGS "-DFVSIZE=3")
target_link_libraries(testfconstruct "dunecommon")
add_executable("testfconstruct_fail1" EXCLUDE_FROM_ALL testfconstruct.cc)
set_target_properties(testfconstruct_fail1 PROPERTIES COMPILE_FLAGS "-DFVSIZE=2")
target_link_libraries(testfconstruct_fail1 "dunecommon")
add_executable("testfconstruct_fail2" EXCLUDE_FROM_ALL testfconstruct.cc)
set_target_properties(testfconstruct_fail2 PROPERTIES COMPILE_FLAGS "-DFVSIZE=5")
target_link_libraries(testfconstruct_fail2 "dunecommon")
add_executable("tuplestest_config" tuplestest.cc)
add_executable("tupleutilitytest" tupleutilitytest.cc)
add_executable("utilitytest" utilitytest.cc)
......
......@@ -36,7 +36,6 @@ TESTPROGS = \
testdebugallocator_fail3 \
testdebugallocator_fail4 \
testdebugallocator_fail5 \
testfconstruct \
testfloatcmp \
tuplestest_std \
tupleutilitytest \
......@@ -50,9 +49,7 @@ COMPILE_XFAIL_TESTS = \
check_fvector_size_fail1 \
check_fvector_size_fail2 \
genericiterator_compile_fail \
nullptr-test-fail \
testfconstruct_fail1 \
testfconstruct_fail2
nullptr-test-fail
compile_XFAIL:
for i in $(COMPILE_XFAIL_TESTS); do \
......@@ -192,15 +189,6 @@ testdebugallocator_fail4_CPPFLAGS = $(AM_CPPFLAGS) -DFAILURE4 -DDEBUG_ALLOCATOR_
testdebugallocator_fail5_SOURCES = testdebugallocator.cc
testdebugallocator_fail5_CPPFLAGS = $(AM_CPPFLAGS) -DFAILURE5
testfconstruct_SOURCES = testfconstruct.cc
testfconstruct_CPPFLAGS = $(AM_CPPFLAGS) -DFVSIZE=3
testfconstruct_fail1_SOURCES = testfconstruct.cc
testfconstruct_fail1_CPPFLAGS = $(AM_CPPFLAGS) -DFVSIZE=2
testfconstruct_fail2_SOURCES = testfconstruct.cc
testfconstruct_fail2_CPPFLAGS = $(AM_CPPFLAGS) -DFVSIZE=5
testfloatcmp_SOURCES = testfloatcmp.cc
tuplestest_std_SOURCES = tuplestest.cc
......
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#include <config.h>
#include <iostream>
#include <dune/common/fvector.hh>
#include <dune/common/fassign.hh>
using namespace Dune;
int main(int, char**) {
Dune::FieldVector<double,3> pos;
pos <<= 1, 0, 0;
Dune::FieldVector<float,FVSIZE> pos2(pos);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment