You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by "Kaneko, Michimaro.* (MKANEKO)" <MK...@arinc.com> on 2006/09/28 21:10:06 UTC
ant build error - at test: PatternParserTestCase::testNewWord on unit test
I am trying to do build for VC++ 6.0.
I am using ant 1.6.5, jdk 1.5.
I checked out the svn trunk yesterday and followed the install file.
I have cpptasks.jar and ant-contrib.jar in the CLASSPATH.
I installed GUN patch, GUN sed and added them on the path.
The build did create .lib and .dll, but on the unit test phase,
I got the following errors:
run-unittest:
...
[exec] 2006-09-28 13:59:38,104 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--24
[exec]
.E.E.E...............................................................log
4cxx: Cannot get information about host: unknown.host.local
[exec] ....E.E.E.E.E.E..E.E.E.E.........................
[exec] !!!FAILURES!!!
[exec] Test Results:
[exec] Run: 261 Failures: 0 Errors: 15
[exec] 1) test: PatternParserTestCase::testNewWord (E)
[exec] uncaught exception of unknown type
[exec] 2) test: PatternParserTestCase::testNewWord2 (E)
[exec] uncaught exception of unknown type
[exec] 3) test: PatternParserTestCase::testBasic1 (E)
[exec] uncaught exception of unknown type
[exec] 4) test: PatternParserTestCase::testBasic2 (E)
[exec] uncaught exception of unknown type
[exec] 5) test: PatternParserTestCase::testMultiOption (E)
[exec] uncaught exception of unknown type
[exec] 6) test: FileNamePatternTestCase::testFormatInteger4 (E)
[exec] uncaught exception of unknown type
[exec] 7) test: FileNamePatternTestCase::testFormatInteger5 (E)
[exec] uncaught exception of unknown type
[exec] 8) test: FileNamePatternTestCase::testFormatInteger6 (E)
[exec] uncaught exception of unknown type
[exec] 9) test: FileNamePatternTestCase::testFormatInteger7 (E)
[exec] uncaught exception of unknown type
[exec] 10) test: FileNamePatternTestCase::testFormatInteger8 (E)
[exec] uncaught exception of unknown type
[exec] 11) test: FileNamePatternTestCase::testFormatInteger9 (E)
[exec] uncaught exception of unknown type
[exec] 12) test: FileNamePatternTestCase::testFormatInteger11 (E)
[exec] uncaught exception of unknown type
[exec] 13) test: FileNamePatternTestCase::testFormatDate1 (E)
[exec] uncaught exception of unknown type
[exec] 14) test: FileNamePatternTestCase::testFormatDate4 (E)
[exec] uncaught exception of unknown type
[exec] 15) test: FileNamePatternTestCase::testFormatDate5 (E)
[exec] uncaught exception of unknown type
BUILD FAILED
C:\Projects\logging-log4cxx\build.xml:1133: exec returned: 1
I appreciate your help and suggestion.
Thank you.
Michi
Re: ant build error - at test: PatternParserTestCase::testNewWord on unit test
Posted by Curt Arnold <ca...@apache.org>.
On Sep 28, 2006, at 2:10 PM, Kaneko, Michimaro.* (MKANEKO) wrote:
> I am trying to do build for VC++ 6.0.
>
> I am using ant 1.6.5, jdk 1.5.
>
>
>
> I checked out the svn trunk yesterday and followed the install file.
>
> I have cpptasks.jar and ant-contrib.jar in the CLASSPATH.
>
> I installed GUN patch, GUN sed and added them on the path.
>
>
>
> The build did create .lib and .dll, but on the unit test phase,
>
> I got the following errors:
>
>
>
> run-unittest:
>
> …
>
>
>
> [exec] 2006-09-28 13:59:38,104 DEBUG
> org.apache.log4j.rolling.SizeBasedRollingTest -Hello--24
>
>
> [exec] .E.E.E.........................................................
> ......log4cxx: Cannot get information about host: unknown.host.local
>
> [exec] ....E.E.E.E.E.E..E.E.E.E.........................
>
>
>
>
>
> [exec] !!!FAILURES!!!
>
> [exec] Test Results:
>
> [exec] Run: 261 Failures: 0 Errors: 15
>
>
>
>
>
> [exec] 1) test: PatternParserTestCase::testNewWord (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 2) test: PatternParserTestCase::testNewWord2 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 3) test: PatternParserTestCase::testBasic1 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 4) test: PatternParserTestCase::testBasic2 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 5) test: PatternParserTestCase::testMultiOption (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 6) test: FileNamePatternTestCase::testFormatInteger4 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 7) test: FileNamePatternTestCase::testFormatInteger5 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 8) test: FileNamePatternTestCase::testFormatInteger6 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 9) test: FileNamePatternTestCase::testFormatInteger7 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 10) test: FileNamePatternTestCase::testFormatInteger8 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 11) test: FileNamePatternTestCase::testFormatInteger9 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 12) test: FileNamePatternTestCase::testFormatInteger11 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 13) test: FileNamePatternTestCase::testFormatDate1 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 14) test: FileNamePatternTestCase::testFormatDate4 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
>
>
> [exec] 15) test: FileNamePatternTestCase::testFormatDate5 (E)
>
> [exec] uncaught exception of unknown type
>
>
>
> BUILD FAILED
>
> C:\Projects\logging-log4cxx\build.xml:1133: exec returned: 1
>
>
>
> I appreciate your help and suggestion.
>
> Thank you.
>
>
>
> Michi
>
>
Those errors are known to occur in VC 6, but do not occur in later
versions of VC or any other compiler. If I remember correctly, they
are related to locale handling in VC 6. The message about
"unknown.host.local" is just a diagnostic message and is not related
to the test failures. I guess those tests could be suppressed if the
_MSC_VER_ is the value for vc 6 or earlier.