Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Chameleon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
71807fa7
Commit
71807fa7
authored
Dec 16, 2014
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tests for example drivers
parent
722857d9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
6 deletions
+41
-6
example/basic_zposv/CMakeLists.txt
example/basic_zposv/CMakeLists.txt
+3
-0
example/basic_zposv/CTestLists.cmake
example/basic_zposv/CTestLists.cmake
+14
-0
example/lapack_to_morse/CMakeLists.txt
example/lapack_to_morse/CMakeLists.txt
+3
-0
example/lapack_to_morse/CTestLists.cmake
example/lapack_to_morse/CTestLists.cmake
+17
-0
testing/CMakeLists.txt
testing/CMakeLists.txt
+3
-6
timing/CMakeLists.txt
timing/CMakeLists.txt
+1
-0
No files found.
example/basic_zposv/CMakeLists.txt
View file @
71807fa7
...
...
@@ -121,6 +121,9 @@ foreach(_example ${EXAMPLES})
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/example/basic_zposv
)
endforeach
()
#-------- Tests ---------
include
(
CTestLists.cmake
)
###
### END CMakeLists.txt
###
example/basic_zposv/CTestLists.cmake
0 → 100644
View file @
71807fa7
#
# Check Example basic_zposv
#
set
(
TESTLIST
posv_morse_functions
posv_users_functions
)
foreach
(
prec
${
RP_CHAMELEON_PRECISIONS
}
)
foreach
(
test
${
TESTLIST
}
)
add_test
(
example_basic_
${
prec
}${
test
}
./
${
prec
}${
test
}
)
endforeach
()
endforeach
()
\ No newline at end of file
example/lapack_to_morse/CMakeLists.txt
View file @
71807fa7
...
...
@@ -168,6 +168,9 @@ target_link_libraries(step0 ${libs_for_step0})
install
(
TARGETS step0
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/example/lapack_to_morse
)
#-------- Tests ---------
include
(
CTestLists.cmake
)
###
### END CMakeLists.txt
###
example/lapack_to_morse/CTestLists.cmake
0 → 100644
View file @
71807fa7
#
# Check Example basic_zposv
#
set
(
TESTLIST
step0
step1
step2
step3
step4
step5
step6
)
foreach
(
test
${
TESTLIST
}
)
add_test
(
example_ltm_
${
test
}
./
${
prec
}${
test
}
)
endforeach
()
testing/CMakeLists.txt
View file @
71807fa7
...
...
@@ -198,17 +198,13 @@ foreach(_precision ${CHAMELEON_PRECISION} )
endforeach
()
#
Add tests (C/CPP)
# -----------------
#
Copy python scripts to use test drivers
# -----------------
----------------------
if
(
CHAMELEON_SCHED_STARPU
)
# Copy launcher
add_custom_target
(
testing_launcher_starpu ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CMAKE_CURRENT_SOURCE_DIR
}
/morse_testing_starpu.py
${
CMAKE_CURRENT_BINARY_DIR
}
/morse_testing_starpu.py
)
# add test
# add_test(NAME morse_testing_starpu
# COMMAND ${PYTHON_EXECUTABLE}
# ${CMAKE_CURRENT_BINARY_DIR}/morse_testing_starpu.py)
# install file
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/morse_testing_starpu.py
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/testing
)
...
...
@@ -224,6 +220,7 @@ if(CHAMELEON_SCHED_QUARK)
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/testing
)
endif
()
#-------- Tests ---------
include
(
CTestLists.cmake
)
###
...
...
timing/CMakeLists.txt
View file @
71807fa7
...
...
@@ -235,6 +235,7 @@ foreach(_timing ${TIMINGS})
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/timing
)
endforeach
()
#-------- Tests ---------
include
(
CTestLists.cmake
)
###
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment