Goose  Artifact [5a9f26cedb]

Artifact 5a9f26cedbda6b68522d688e77a2b9c352149de19cb0d40a5135d552eb584542:

  • File tests/noprelude/combined/test_runner_interp.sh — part of check-in [397f594186] at 2020-05-17 17:30:43 on branch trunk —
    • Clean up the "default return value from top level file functions" stuff.
    • Standardize to a default return value of 0 for the top level file both in execution mode and in compilation mode.
    • Implemented a combined execution/compilation test for tuples in preparation for implementing tuple compilation. (not enabled yet)
    (user: achavasse size: 148)
  • File tests/noprelude/complex/test_runner_interp.sh — part of check-in [af650a9e95] at 2019-09-22 14:37:55 on branch trunk — Project renaming. (user: achavasse size: 148)
  • File tests/noprelude/general/test_runner_execute.sh — part of check-in [5e757567a6] at 2021-03-01 12:32:32 on branch trunk — Reorganized tests, they are now grouped by language feature. (user: achavasse size: 148)
  • File tests/noprelude/reference/test_runner_execute.sh — part of check-in [5e757567a6] at 2021-03-01 12:32:32 on branch trunk — Reorganized tests, they are now grouped by language feature. (user: achavasse size: 148)
  • File tests/noprelude/tuple/test_runner_execute.sh — part of check-in [5e757567a6] at 2021-03-01 12:32:32 on branch trunk — Reorganized tests, they are now grouped by language feature. (user: achavasse size: 148)

#!/bin/sh
OUTFILE=$(mktemp)
$1 --noprelude $2.g > $OUTFILE
cmp $OUTFILE $3

if [ "$?" -eq "0" ]; then
    rm $OUTFILE
    exit 0
else
    exit 1
fi