Debian Codegraph @

test/testACL/CMakeLists.txt

raw
1 #
2 # Advanced Simulation Library <http://asl.org.il>
3 #
4 # Copyright 2015 Avtech Scientific <http://avtechscientific.com>
5 #
6 #
7 # This file is part of Advanced Simulation Library (ASL).
8 #
9 # ASL is free software: you can redistribute it and/or modify it
10 # under the terms of the GNU Affero General Public License as
11 # published by the Free Software Foundation, version 3 of the License.
12 #
13 # ASL is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Affero General Public License for more details.
17 #
18 # You should have received a copy of the GNU Affero General Public License
19 # along with ASL. If not, see <http://www.gnu.org/licenses/>.
20 #
21
22
23 include_directories(${CMAKE_SOURCE_DIR}/src)
24
25 add_executable(testVectorOfElements testVectorOfElements.cc)
26 target_link_libraries(testVectorOfElements aslacl)
27 add_test(NAME testVectorOfElements COMMAND testVectorOfElements)
28
29 add_executable(testMatrixOfElements testMatrixOfElements.cc)
30 target_link_libraries(testMatrixOfElements asl aslacl aslcommon)
31 add_test(NAME testMatrixOfElements COMMAND testMatrixOfElements)
32
33 # This test needs to be updated.
34 # add_executable(testPerformance testPerformance.cc)
35 # target_link_libraries(testPerformance aslacl)
36 # add_test(NAME testPerformance COMMAND testPerformance)
37 # set_tests_properties(testPerformance PROPERTIES LABELS Performance)
38
39 add_executable(testKernel testKernel.cc)
40 target_link_libraries(testKernel aslacl)
41 add_test(NAME testKernel COMMAND testKernel)
42 set_tests_properties(testKernel PROPERTIES LABELS DoublePrecision)
43
44 add_executable(testOperators testOperators.cc)
45 target_link_libraries(testOperators aslacl)
46 add_test(NAME testOperators COMMAND testOperators)
47
48 add_executable(testKernelMerger testKernelMerger.cc)
49 target_link_libraries(testKernelMerger aslacl)
50 add_test(NAME testKernelMerger COMMAND testKernelMerger)
51
52 add_executable(testPrivateVar testPrivateVar.cc)
53 target_link_libraries(testPrivateVar aslacl)
54 add_test(NAME testPrivateVar COMMAND testPrivateVar)
55 set_tests_properties(testPrivateVar PROPERTIES LABELS Performance)