#!/usr/bin/perl -w
-# $Id: runtests,v 1.2 2002-11-03 17:02:48 mike Exp $
+# $Id: runtests,v 1.3 2002-11-06 22:03:58 mike Exp $
use IO::File;
use strict;
my $correct = read_file("$norman < $afile |");
my $tested = read_file("$compiler < $qfile | $norman |")
or die "can't run test compiler '$compiler | $norman': $!";
- print " *** different XCQL output\n"
- if $tested ne $correct;
+ if ($tested ne $correct) {
+ print " *** different XCQL output\n";
+ print "=== correct ===\n$correct";
+ print "=== tested ===\n$tested";
+ }
}
}