[otrs-cvs] otrs/Kernel/System UnitTest.pm,1.9,1.10
cvs-log at otrs.org
cvs-log at otrs.org
Wed Apr 11 20:47:00 GMT 2007
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv1143/Kernel/System
Modified Files:
UnitTest.pm
Log Message:
Added failed test info if .t file can not be executed.
Author: martin
Index: UnitTest.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/UnitTest.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** UnitTest.pm 9 Apr 2007 22:22:21 -0000 1.9
--- UnitTest.pm 11 Apr 2007 20:46:55 -0000 1.10
***************
*** 136,139 ****
--- 136,140 ----
}
else {
+ $Self->True(0, "ERROR: $!: $File");
print STDERR "ERROR: $!: $File\n";
}
***************
*** 141,144 ****
--- 142,146 ----
$Self->_PrintHeadlineStart($File);
if (! eval $ConfigFile) {
+ $Self->True(0, "ERROR: Syntax error in $File: $@");
print STDERR "ERROR: Syntax error in $File: $@\n";
}
More information about the cvs-log
mailing list