Commit c418e3fb authored by PRUVOST Florent's avatar PRUVOST Florent

ooc test: create a ooc subdirectory in the build dir to write data on disk...

ooc test: create a ooc subdirectory in the build dir to write data on disk instead of /tmp/starpu_ooc because we must guarantee that the directory exists
parent 764be57d
......@@ -6,6 +6,10 @@ set(TESTLIST
out_of_core
)
# OOC tests required to create a directory where the data will be written on disk
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ooc)
# define tests
foreach(test ${TESTLIST})
add_test(example_ooc_${test} ./${test})
endforeach()
......@@ -96,7 +96,7 @@ int main(int argc, char *argv[]) {
/* limit ram memory */
if (iparam[IPARAM_OUTOFCORE] > 0) {
int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops,
(void*) "/tmp/starpu_ooc/", 1024*1024*10);
(void*) "./ooc/", 1024*1024*10);
}
MORSE_Desc_Create_User(&descA, NULL, MorseRealDouble,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment