Skip to content
Snippets Groups Projects
Commit fe4fae44 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fixed cmake tests

parent 719b43e6
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -617,9 +617,9 @@ if(VERBOSE_MODE)
message(STATUS " ${PROJECT_NAME} debug mode : ${DEBUG}")
message(STATUS " Enable -OO run? : ${OPTIM}")
if(DOUBLEPREC)
message(STATUS " Real numbers precision : double.")
message(STATUS " Default real numbers precision : double.")
else()
message(STATUS " Real numbers precision : simple.")
message(STATUS " Default real numbers precision : simple.")
endif()
message(STATUS "====================== ======= ======================")
message(STATUS " ")
......
......@@ -6,7 +6,7 @@ make install
cd -
python -c 'import hysop'
cd build
echo $'y\n' | make uninstall
echo 'y\n' | make uninstall
make clean
cd -
rm -rf build
......
......@@ -86,10 +86,10 @@ endforeach()
# === Create tests from py_test_files ===
foreach(testfile ${py_test_files})
set(execname ${CMAKE_SOURCE_DIR}/${testfile})
get_filename_component(testName ${testfile} NAME_WE)
set(exename ${testDir}/${testfile})
#message(STATUS "Add test ${exename} ...")
add_python_test(${testName} ${exename})
message(STATUS "Add test ${execname} ...")
add_python_test(${testName} ${execname})
endforeach()
# Add files containing doctests
......
......@@ -19,7 +19,7 @@ class KernelAutotunerConfig(object):
def __init__(self, dump_folder = None,
autotuner_flag = DEFAULT_AUTOTUNER_FLAG,
prune_threshold = DEFAULT_AUTOTUNER_PRUNE_THRESHOLD,
max_candidates = None,
max_candidates = 10,
verbose = None,
debug = __KERNEL_DEBUG__,
dump_kernels = True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment