CMakeLists.txt 2.12 KB
Newer Older
1 2 3
# Include our test macros
include(AddTestsCxx)

4
# Add any dependencies that the cxx tests may need
5
# Note: The tests already depend on their own file
6
ADD_TEST_CXX_DEPENDENCIES("Xdmf")
7 8 9

# Add any cxx tests here:
# Note: We don't want to use a foreach loop to test the files incase we
10
#	have extra arguments (id: ADD_TEST_CXX(testname inputfile))
11
#	Read UseCxxTest.cmake for more information
12
# ---------------------------------------
13 14 15
ADD_TEST_CXX(TestXdmfAttribute)
ADD_TEST_CXX(TestXdmfGeometry)
ADD_TEST_CXX(TestXdmfGridCollection)
16
ADD_TEST_CXX(TestXdmfGridCurvilinear)
17
ADD_TEST_CXX(TestXdmfGridRegular)
18
ADD_TEST_CXX(TestXdmfGridRectilinear)
19
ADD_TEST_CXX(TestXdmfGridUnstructured)
20 21 22 23 24 25 26 27
ADD_TEST_CXX(TestXdmfReader)
ADD_TEST_CXX(TestXdmfSet)
ADD_TEST_CXX(TestXdmfTime)
ADD_TEST_CXX(TestXdmfTopology)
ADD_TEST_CXX(TestXdmfVisitorValueCounter)
ADD_TEST_CXX(TestXdmfWriter)
ADD_TEST_CXX(TestXdmfWriterHDF5ThenXML)
ADD_TEST_CXX(TestXdmfXPath)
28 29 30

# Add any cxx cleanup here:
# Note: We don't want to use a foreach loop to test the files incase we
31
#	have multiple files (ie: CLEAN_TEST_CXX(testname outputfile1 ...))
32
#	Read UseCxxTest.cmake for more information
33
# ---------------------------------------
34 35
CLEAN_TEST_CXX(TestXdmfAttribute)
CLEAN_TEST_CXX(TestXdmfGeometry)
36 37 38 39
CLEAN_TEST_CXX(TestXdmfGridCurvilinear
	TestXdmfGridCurvilinear1.xmf
	TestXdmfGridCurvilinear2.xmf
)
40
CLEAN_TEST_CXX(TestXdmfGridCollection
41 42 43 44 45 46
	TestXdmfGridCollection1.xmf
	TestXdmfGridCollection2.xmf
	TestXdmfGridCollectionHDF1.h5
	TestXdmfGridCollectionHDF1.xmf
	TestXdmfGridCollectionHDF2.xmf
)
47
CLEAN_TEST_CXX(TestXdmfGridRegular
48
	TestXdmfGridRegular1.xmf
49
	TestXdmfGridRegular2.xmf
50
)
51 52 53 54
CLEAN_TEST_CXX(TestXdmfGridRectilinear
	TestXdmfGridRectilinear1.xmf
	TestXdmfGridRectilinear2.xmf
)
55
CLEAN_TEST_CXX(TestXdmfGridUnstructured)
56
CLEAN_TEST_CXX(TestXdmfReader
57 58 59 60
	TestXdmfReader1.h5
	TestXdmfReader1.xmf
	TestXdmfReader2.xmf
)
61 62 63 64 65
CLEAN_TEST_CXX(TestXdmfSet)
CLEAN_TEST_CXX(TestXdmfTime)
CLEAN_TEST_CXX(TestXdmfTopology)
CLEAN_TEST_CXX(TestXdmfVisitorValueCounter)
CLEAN_TEST_CXX(TestXdmfWriter
66 67
	output.h5
	output.xmf)
68 69
CLEAN_TEST_CXX(TestXdmfWriterHDF5ThenXML)
CLEAN_TEST_CXX(TestXdmfXPath
70 71
	XdmfXPath1.xmf
	XdmfXPath2.xmf
72
)