Tests: Standard wording.

This commit is contained in:
Wilson Snyder 2020-11-12 18:50:05 -05:00
parent 87b2adb6a1
commit b49be06a5a
2 changed files with 5 additions and 5 deletions

View File

@ -1628,7 +1628,7 @@ sub _run {
if (!$ok) {
#print "**BAD $self->{name} $param{logfile} MT $moretry $try\n";
next if $moretry;
$self->error("Mismatch in output from $param{cmd}[0]\n");
$self->error("Miscompares in output from $param{cmd}[0]\n");
$self->error("Might be error in regexp format\n") if $ok<1;
print "GOT:\n";
print $wholefile;
@ -2102,7 +2102,7 @@ sub files_identical {
for (my $l=0; $l<=$nl; ++$l) {
if (($l1[$l]||"") ne ($l2[$l]||"")) {
next try if $moretry;
$self->error("Line ".($l+1)." mismatches; $fn1 != $fn2");
$self->error("Line ".($l+1)." miscompares; $fn1 != $fn2");
warn("F1: ".($l1[$l]||"*EOF*\n")
."F2: ".($l2[$l]||"*EOF*\n"));
if ($ENV{HARNESS_UPDATE_GOLDEN}) { # Update golden files with current
@ -2163,7 +2163,7 @@ sub vcd_identical {
$out = `$cmd`;
if ($out ne '') {
print $out;
$self->error("VCD miscompare $fn1 $fn2\n");
$self->error("VCD miscompares $fn1 $fn2\n");
$self->copy_if_golden($fn1, $fn2);
return 0;
}
@ -2178,7 +2178,7 @@ sub vcd_identical {
my $b = Dumper($h2);
if ($a ne $b) {
print "$a\n$b\n" if $::Debug;
$self->error("VCD hier mismatch $fn1 $fn2\n");
$self->error("VCD hier miscompares $fn1 $fn2\n");
$self->copy_if_golden($fn1, $fn2);
return 0;
}

View File

@ -13,7 +13,7 @@
// please note it here, otherwise:**
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2020 ____YOUR_NAME_HERE____.
// any use, without warranty, 2020 by ____YOUR_NAME_HERE____.
// SPDX-License-Identifier: CC0-1.0
module t(/*AUTOARG*/