commit ef5ae515a0fbd5bcd6587767e00a802a049e687e parent e91a7788e0c242d1891aeb1d9df5946027fb9f6d Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Fri, 26 Feb 2016 15:46:15 -0500 add regression testing script Diffstat:
| A | lisc/tools/regress.sh | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/lisc/tools/regress.sh b/lisc/tools/regress.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +for t in test/* +do + printf "Test $t ... " + + ./lisc $t 2>&1 > /tmp/out.0 + ./lisc.1 $t 2>&1 > /tmp/out.1 + + if diff /tmp/out.0 /tmp/out.1 > /dev/null + then + echo "OK" + else + echo "KO" + break + fi +done