1#!/bin/sh23cd "$(dirname "$0")"4. common.sh56ret=07for test in *; do8 [ -d "${test}" ] || continue910 name="${test##*/}"11 printf "Running test case '%s': " "${name}"1213 qsym "${test}"/input.qbe "${ENTRY_FUNC}" 2>&1 | \14 cmp - "${test}/expected" 2>/dev/null 1>&215 if [ $? -ne 0 ]; then16 echo FAIL17 ret=118 else19 echo OK20 fi21done2223exit "${ret}"