Thanks Curt,
yup i do get those failures. :(
so I commented out run-unittest from the build file, and got a
successful build.
just wondering if I should continue using log4cxx on VC6, since the test
fails, I fear calls to log4cxx might fail from my app?
Aditya
Curt Arnold wrote:
On May 23, 2007, at 10:28 AM, Aditya Aggarwal wrote:
clean-output:
[delete] Deleting 97 files from C:\logging-log4cxx\tests
run-unittest:
[exec] ............................Assertion failed: stat ==
APR_SUCCESS, f
ile C:\logging-log4cxx\tests\src\util\transformer.cpp, line 212
[exec] abnormal program termination
The unit tests require "sed" to be on the path and is mentioned in the
INSTALL file. I suggest installing cygwin and making sure to install
sed and then add \cygwin\bin to my path.
You will still get test failures on VC 6 due to a compiler bug, but
the failure will look like:
[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: 267 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