|
|
| <prev next> |
Choosing A Webhost: |
RE: ant build error - at test: PatternParserTestCase::testNewWord on unit t: msg#00028apache.logging.log4cxx.user
Thank you very much for your reply, Curt. So these errors on unit tests are not really the problems and the build was actually successful? Michi -----Original Message----- From: Curt Arnold [mailto:carnold@xxxxxxxxxx] Sent: Thursday, September 28, 2006 2:42 PM To: Log4CXX User Subject: Re: ant build error - at test: PatternParserTestCase::testNewWord on unit test 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.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ant build error - at test: PatternParserTestCase::testNewWord on unit test, Curt Arnold |
|---|---|
| Previous by Thread: | Re: ant build error - at test: PatternParserTestCase::testNewWord on unit test, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |