Commit 261435b6 authored by Andreas Marek's avatar Andreas Marek

Introduce test_step

parent ca12dab5
......@@ -98,9 +98,14 @@ else
if [ $? -ne 0 ]; then cat config.log && exit 1; fi
sleep 1
$batchCommand --ntasks-per-core=1 --ntasks=1 --cpus-per-task=8 $SRUN_COMMANDLINE_BUILD ./build_test_scripts/build_step.sh $makeTasks
if [ $? -ne 0 ]; then cat config.log && exit 1; fi
$batchCommand --ntasks-per-core=1 --ntasks=1 --cpus-per-task=8 $SRUN_COMMANDLINE_BUILD ./build_test_scripts/build_step.sh $makeTasks
if [ $? -ne 0 ]; then exit 1; fi
sleep 1
$batchCommand --ntasks-per-core=1 --ntasks=1 --cpus-per-task=2 $SRUN_COMMANDLINE_RUN ./build_test_scripts/test_step.sh $mpiTasks $ompThreads "TEST_FLAGS=\" $matrixSize $nrEV $blockSize \" "
if [ $? -ne 0 ]; then exit 1; fi
grep -i "Expected %stop" test-suite.log && exit 1 || true ;
if [ $? -ne 0 ]; then exit 1; fi
else
#eval ./configure $configureArgs
......
#!/bin/bash
source /etc/profile.d/modules.sh
set -ex
source ./build_test_scripts/.ci-env-vars
module list
ulimit -s unlimited
ulimit -v unlimited
if [ "$(hostname)" != "miy01" -a "$(hostname)" != "miy02" -a "$(hostname)" != "miy03" ] ; then export I_MPI_STATS=10; fi
if [ "$(hostname)" != "miy01" -a "$(hostname)" != "miy02" -a "$(hostname)" != "miy03" ] ; then unset SLURM_MPI_TYPE I_MPI_SLURM_EXT I_MPI_PMI_LIBRARY I_MPI_PMI2 I_MPI_HYDRA_BOOTSTRAP; fi
export OMP_NUM_THREADS=$2
eval make check TASKS=$1 ${3} || { cat test-suite-log; exit 1; }
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