1#!/bin/bash 2 3if [ -z "$1" ]; then 4 echo "ERROR: Missing root; e.g. for ref-main-avx2 set 'main'" 5 exit 1 6fi 7 8echo "Generating new ref-$1 results" 9 10if [ "$1" = "main" ]; then 11 echo "Using binary from ./bin/${1}/" 12else 13 echo "Using binary from ./Binaries/${1}/" 14fi 15 16echo "" 17 18TARGET_ROOT=${1} 19 20python3 ./Test/astc_test_image.py --test-set all --block-size all --test-quality all --repeats 6 --encoder ref-$1-avx2 21#python3 ./Test/astc_test_image.py --test-set all --block-size all --test-quality all --repeats 6 --encoder ref-$1-sse4.1 22#python3 ./Test/astc_test_image.py --test-set all --block-size all --test-quality all --repeats 6 --encoder ref-$1-sse2 23