Skip to content
Snippets Groups Projects
Commit 5eb8cbb1 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Prepare to make test program parameter ntfiles adjustable.

parent e30b1e13
No related branches found
No related tags found
1 merge request!14Draft: K202125/cdi 1.8.x pio merge followup
Pipeline #17279 failed
......@@ -65,12 +65,16 @@ test_variation ()
${mpi_launch} ${tool_wrap} \
${pio_write} "-qprefix=${prefix}" -f ${suffix} \
${pio_write_args} -s 7 ${variation} || exit 1
echo "checking ${prefix}_0.${suffix}" >&2
@top_builddir@/libtool --mode=execute \
${tool_wrap} ./cksum_read "${prefix}_0.${suffix}" "${prefix}_0.cksum"
echo "checking ${prefix}_1.${suffix}" >&2
@top_builddir@/libtool --mode=execute \
${tool_wrap} ./cksum_read "${prefix}_1.${suffix}" "${prefix}_1.cksum"
tfile=0
ntfiles=2
while [ "$tfile" -lt "$ntfiles" ]; do
p="${prefix}_${tfile}"
echo "checking ${p}.${suffix}" >&2
@top_builddir@/libtool --mode=execute \
${tool_wrap} ./cksum_read "${p}.${suffix}" "${p}.cksum"
rm "${p}.${suffix}" "${p}.cksum"
tfile=`expr "$tfile" + 1`
done
}
eval "set dummy $variations"; shift
......
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