Commit 0283b766 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Configurable unit test cost

By passing the makefile variable TEST_FLAGS, one can adjust the
computional cost of the test, e.g. reduce it considerably via

  make check TEST_FLAGS="1500 50 16"
parent 4271cdb9
......@@ -228,35 +228,35 @@ check_SCRIPTS = \
TESTS = $(check_SCRIPTS)
elpa1_test_real.sh:
echo "mpiexec -n 2 ./elpa1_test_real" > elpa1_test_real.sh
echo "mpiexec -n 2 ./elpa1_test_real $$TEST_FLAGS" > elpa1_test_real.sh
chmod +x elpa1_test_real.sh
elpa2_test_real.sh:
echo "mpiexec -n 2 ./elpa2_test_real" > elpa2_test_real.sh
echo "mpiexec -n 2 ./elpa2_test_real $$TEST_FLAGS" > elpa2_test_real.sh
chmod +x elpa2_test_real.sh
elpa2_test_real_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_real_default_kernel" > elpa2_test_real_default_kernel.sh
echo "mpiexec -n 2 ./elpa2_test_real_default_kernel $$TEST_FLAGS" > elpa2_test_real_default_kernel.sh
chmod +x elpa2_test_real_default_kernel.sh
elpa2_test_real_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_real_choose_kernel_with_api" > elpa2_test_real_choose_kernel_with_api.sh
echo "mpiexec -n 2 ./elpa2_test_real_choose_kernel_with_api $$TEST_FLAGS" > elpa2_test_real_choose_kernel_with_api.sh
chmod +x elpa2_test_real_choose_kernel_with_api.sh
elpa1_test_complex.sh:
echo "mpiexec -n 2 ./elpa1_test_complex" > elpa1_test_complex.sh
echo "mpiexec -n 2 ./elpa1_test_complex $$TEST_FLAGS" > elpa1_test_complex.sh
chmod +x elpa1_test_complex.sh
elpa2_test_complex.sh:
echo "mpiexec -n 2 ./elpa2_test_complex" > elpa2_test_complex.sh
echo "mpiexec -n 2 ./elpa2_test_complex $$TEST_FLAGS" > elpa2_test_complex.sh
chmod +x elpa2_test_complex.sh
elpa2_test_complex_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_default_kernel" > elpa2_test_complex_default_kernel.sh
echo "mpiexec -n 2 ./elpa2_test_complex_default_kernel $$TEST_FLAGS" > elpa2_test_complex_default_kernel.sh
chmod +x elpa2_test_complex_default_kernel.sh
elpa2_test_complex_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_choose_kernel_with_api" > elpa2_test_complex_choose_kernel_with_api.sh
echo "mpiexec -n 2 ./elpa2_test_complex_choose_kernel_with_api $$TEST_FLAGS" > elpa2_test_complex_choose_kernel_with_api.sh
chmod +x elpa2_test_complex_choose_kernel_with_api.sh
elpa2.i: $(top_srcdir)/src/elpa2.F90
......
......@@ -1919,35 +1919,35 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
elpa1_test_real.sh:
echo "mpiexec -n 2 ./elpa1_test_real" > elpa1_test_real.sh
echo "mpiexec -n 2 ./elpa1_test_real $$TEST_FLAGS" > elpa1_test_real.sh
chmod +x elpa1_test_real.sh
elpa2_test_real.sh:
echo "mpiexec -n 2 ./elpa2_test_real" > elpa2_test_real.sh
echo "mpiexec -n 2 ./elpa2_test_real $$TEST_FLAGS" > elpa2_test_real.sh
chmod +x elpa2_test_real.sh
elpa2_test_real_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_real_default_kernel" > elpa2_test_real_default_kernel.sh
echo "mpiexec -n 2 ./elpa2_test_real_default_kernel $$TEST_FLAGS" > elpa2_test_real_default_kernel.sh
chmod +x elpa2_test_real_default_kernel.sh
elpa2_test_real_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_real_choose_kernel_with_api" > elpa2_test_real_choose_kernel_with_api.sh
echo "mpiexec -n 2 ./elpa2_test_real_choose_kernel_with_api $$TEST_FLAGS" > elpa2_test_real_choose_kernel_with_api.sh
chmod +x elpa2_test_real_choose_kernel_with_api.sh
elpa1_test_complex.sh:
echo "mpiexec -n 2 ./elpa1_test_complex" > elpa1_test_complex.sh
echo "mpiexec -n 2 ./elpa1_test_complex $$TEST_FLAGS" > elpa1_test_complex.sh
chmod +x elpa1_test_complex.sh
elpa2_test_complex.sh:
echo "mpiexec -n 2 ./elpa2_test_complex" > elpa2_test_complex.sh
echo "mpiexec -n 2 ./elpa2_test_complex $$TEST_FLAGS" > elpa2_test_complex.sh
chmod +x elpa2_test_complex.sh
elpa2_test_complex_default_kernel.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_default_kernel" > elpa2_test_complex_default_kernel.sh
echo "mpiexec -n 2 ./elpa2_test_complex_default_kernel $$TEST_FLAGS" > elpa2_test_complex_default_kernel.sh
chmod +x elpa2_test_complex_default_kernel.sh
elpa2_test_complex_choose_kernel_with_api.sh:
echo "mpiexec -n 2 ./elpa2_test_complex_choose_kernel_with_api" > elpa2_test_complex_choose_kernel_with_api.sh
echo "mpiexec -n 2 ./elpa2_test_complex_choose_kernel_with_api $$TEST_FLAGS" > elpa2_test_complex_choose_kernel_with_api.sh
chmod +x elpa2_test_complex_choose_kernel_with_api.sh
elpa2.i: $(top_srcdir)/src/elpa2.F90
......
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