#!/bin/sh
#
# Run some basic diagnostics on the test suite.

set -e # Die on error.

echo "The following tests have an .in-file, but no .out-file:"

find data/tests data/benchmarks -type f -name '*l0' | while read -r test; do
    infile=$(echo $test | sed s/.l0$/.in/)
    outfile=$(echo $test | sed s/.l0$/.out/)

    if [ -f "$infile" ] && ! [ -f "$outfile" ]; then
        echo $test
    fi
done

Add test suite diagnostics script.
Add test suite diagnostics script.
