From 089648d22810bfaef210b67a414ee9cbdcd23d73 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Wed, 24 Oct 2018 18:00:54 +0200 Subject: [PATCH] Fix environement variables --- timing/CTestLists.cmake | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/timing/CTestLists.cmake b/timing/CTestLists.cmake index 529571f4d..5b248f075 100644 --- a/timing/CTestLists.cmake +++ b/timing/CTestLists.cmake @@ -68,7 +68,10 @@ if (NOT CHAMELEON_SIMULATION) string(TOUPPER ${prec} PREC) if (CHAMELEON_PREC_${PREC}) foreach(test ${TESTLIST}) - add_test(time_ooc_${cat}_${prec}${test} STARPU_DISK_SWAP=/tmp STARPU_LIMIT_CPU_MEM=1 ${MPI_CMD_${cat}} ./time_${prec}${test}_tile ${TEST_CMD_${cat}} --ooc --check) + add_test(time_ooc_${cat}_${prec}${test} ${MPI_CMD_${cat}} ./time_${prec}${test}_tile ${TEST_CMD_${cat}} --ooc --check) + set_tests_properties(time_ooc_${cat}_${prec}${test} PROPERTIES + ENVIRONMENT "STARPU_DISK_SWAP=/tmp;STARPU_LIMIT_CPU_MEM=1" + ) endforeach() endif() endforeach() @@ -76,7 +79,10 @@ if (NOT CHAMELEON_SIMULATION) string(TOUPPER ${prec} PREC) if (CHAMELEON_PREC_${PREC}) foreach(test ${TESTLIST_ZC}) - add_test(time_ooc_${cat}_${prec}${test} STARPU_DISK_SWAP=/tmp STARPU_LIMIT_CPU_MEM=1 ${MPI_CMD_${cat}} ./time_${prec}${test}_tile ${TEST_CMD_${cat}} --ooc --check) + add_test(time_ooc_${cat}_${prec}${test} ${MPI_CMD_${cat}} ./time_${prec}${test}_tile ${TEST_CMD_${cat}} --ooc --check) + set_tests_properties(time_ooc_${cat}_${prec}${test} PROPERTIES + ENVIRONMENT "STARPU_DISK_SWAP=/tmp;STARPU_LIMIT_CPU_MEM=1" + ) endforeach() endif() endforeach() -- GitLab