3 if test "${#}" != 1 ; then
4 echo "Usage: collectsdlinfo OUTPUTDIR" 1>&2
7 if test "${1}" = "-h" || test "${1}" = "--help" ; then
9 Usage: collectsdlinfo OUTPUTDIR
11 collectsdlinfo finds SDL configuration files and collects debug info.
12 The results are saved into the given OUTPUTDIR directory.
18 mkdir -p "${OUTPUTDIR}" || exit 1
19 outputfile="${OUTPUTDIR}/shareddatalayer_configuration.txt"
20 sdltool dump-configuration > "${outputfile}" 2>&1
22 outputfile="${OUTPUTDIR}/shareddatalayer_write_read_latency.txt"
23 sdltool test-get-set -- timeout 10 > "${outputfile}" 2>&1
25 outputfile="${OUTPUTDIR}/shareddatalayer_backend_connectivity.txt"
26 sdltool test-connectivity -- timeout 10 > "${outputfile}" 2>&1