#!/bin/sh -e

## We will work in the tmp directory :
cd $AUTOPKGTEST_TMP

## ## Getting data by cloning git :
## git clone https://plmlab.math.cnrs.fr/tomogroup/ufo-testing.git
##
## An execution that should not ask for an OpenCL device
## Data should now sits here : ufo-testing/sino-bin-810x1562-4.raw
## ufo-launch read path=ufo-testing/sino-bin-810x1562-4.raw raw-width=810 raw-height=1562 raw-bitdepth=32 ! \
##   monitor print=5 ! \
##   zmq-pub expected-subscribers=0
## #  write filename=sino-810x1562-4_binx8.tiff

for t in $(ufo-query -l) ; do
    echo ===============================
    echo Parameters for task $t \(ufo-query\)
    echo ------------------------------
    if [ "$t" != "transpose" ] ; then
	ufo-query -pv $t
    else
	echo "!! Task transpose is producing a SegFault on ufo-query !!"
    fi
    echo
done
