Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
261435b6
Commit
261435b6
authored
Jan 19, 2018
by
Andreas Marek
Browse files
Introduce test_step
parent
ca12dab5
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build_test_scripts/run_ci_tests.sh
View file @
261435b6
...
...
@@ -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
...
...
build_test_scripts/test_step.sh
0 → 100755
View file @
261435b6
#!/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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment