ShrinkRay/bin.tests.sh

29 lines
1.1 KiB
Bash

echo "Test Log" >tmp.log
echo "--------" >>tmp.log
date >>tmp.log
tdp="data/misc"
srp="./dist/sr/sr"
echo "--------" >>tmp.log
$srp --help >>tmp.log
echo "--------" >>tmp.log
$srp "${tdp}test.png" -o "${tdp}test.sr" -p 1 >>tmp.log
echo "--------" >>tmp.log
$srp "${tdp}test.sr" -o "${tdp}out.png" >>tmp.log
echo "--------" >>tmp.log
$srp "data/input/frames/raygun/frame_00.png" -o "data/output/sr/raygun_frame_00.sr" >>tmp.log
echo "--------" >>tmp.log
$srp "data/input/frames/raygun/*" -o "data/output/srb/shrinkray.srb" -s 64 -a 1 >>tmp.log
echo "--------" >>tmp.log
$srp "data/output/srb/shrinkray.srb" -o "data/output/frames/shrinkray" >>tmp.log
echo "--------" >>tmp.log
$srp "data/output/srb/shrinkray.srb" -o "data/output/shrinkray" -f "gif" >>tmp.log
echo "--------" >>tmp.log
$srp "${tdp}RoseTest.png" -o "${tdp}RoseTest.sr" -s 2 -p 1 >>tmp.log
echo "--------" >>tmp.log
$srp "${tdp}RoseTest.sr" -o "${tdp}RoseTest_out.png" -p "nyx8" >>tmp.log
echo "--------" >>tmp.log
$srp "data/input/ttest.png" -o "data/output/ttest.sr" >>tmp.log
echo "--------" >>tmp.log
$srp "data/output/ttest.sr" -o "data/output/ttest.png" >>tmp.log
echo "--------" >>tmp.log