create .diff file even for .expectf
I'm having a tough time debugging the ##.expectf## tests because I don't have an easy diff. This is a poor man's one unless someone else is aware of a nice regex debugging thing.
Esse commit está contido em:
@@ -475,6 +475,9 @@ sub run_test
|
||||
unless ($content =~ /^$wanted_re$/)
|
||||
{
|
||||
$okay = 0;
|
||||
# a poor mans aide for debugging
|
||||
$diff_args = "--text -u";
|
||||
`diff $diff_args $opt_srcdir/$test.expectf $opt_objdir/$test.out > $opt_objdir/$test.diff 2>&1`;
|
||||
}
|
||||
}
|
||||
elsif (!$opt_no_exp && -e "$opt_srcdir/$test.expectregex")
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário