Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unit Tests fail when the decimal separator is not a period #7

Closed
fbettag opened this Issue Sep 27, 2010 · 5 comments

Comments

Projects
None yet
3 participants

fbettag commented Sep 27, 2010

Test Suite '/Users/Shared/myuser/Products/Debug/OFUnitTests.octest(Tests)' finished at 2010-09-27 14:06:17 +0200.
Executed 213 tests, with 2 failures (0 unexpected) in 8.134 (9.077) seconds

/Developer/Tools/RunPlatformUnitTests.include:448: error: Failed tests for architecture 'i386' (GC OFF)
/Developer/Tools/RunPlatformUnitTests.include:462: note: Completed tests for architectures 'x86_64 i386'
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch /Users/Shared/myuser/Products/Debug/OFUnitTests.octest
cd /Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation
/usr/bin/touch -c /Users/Shared/myuser/Products/Debug/OFUnitTests.octest

** BUILD FAILED **

The following build commands failed:
OFUnitTests:
PhaseScriptExecution "Run Tests" /Users/Shared/myuser/Products/Builds/OmniFoundation.build/Debug/OFUnitTests.build/Script-340478D408BE626600BE1C39.sh
(1 failure)

Build failed in (OmniGroup/Frameworks/OmniFoundation(OFUnitTests))

fbettag commented Sep 27, 2010

Xcode 3.2.4 was used.

Contributor

wiml commented Sep 27, 2010

Can you attach the portion of the log showing which particular test or subtest failed?

Does this happen every time you build or run the unit tests, or is it intermittent?

fbettag commented Sep 27, 2010

Uhm, not sure which part that is. I hope it is down there. I always get this error, tried it on my MacBook and MacPro, both don't like it. :)

Test Suite 'OFGzipCompressionTest' started at 2010-09-27 14:26:51 +0200
Test Case '-[OFGzipCompressionTest testCompressionFixedStrings]' started.
Test Case '-[OFGzipCompressionTest testCompressionFixedStrings]' passed (0.052 seconds).
Test Case '-[OFGzipCompressionTest testCompressionLongRuns]' started.
2010-09-27 14:26:51.853 otest-i386[28684:903] *** ABBREVIATING slow test [OFGzipCompressionTest testCompressionLongRuns]
0...
500...
1000...
1500...
2000...
2500...
3000...
3500...
4000...
4500...
5000...
5500...
6000...
6500...
7000...
7500...
8000...
8500...
9000...
9500...
10000...
10500...
11000...
11500...
12000...
12500...
13000...
13500...
14000...
14500...
15000...
15500...
16000...
Test Case '-[OFGzipCompressionTest testCompressionLongRuns]' passed (0.559 seconds).
Test Case '-[OFGzipCompressionTest testCompressionRandomVectors]' started.
2010-09-27 14:26:52.412 otest-i386[28684:903] *** ABBREVIATING slow test [OFGzipCompressionTest testCompressionRandomVectors]
Test Case '-[OFGzipCompressionTest testCompressionRandomVectors]' passed (0.863 seconds).
Test Suite 'OFGzipCompressionTest' finished at 2010-09-27 14:26:53 +0200.
Executed 3 tests, with 0 failures (0 unexpected) in 1.474 (1.475) seconds

Test Suite 'OFHashTests' started at 2010-09-27 14:26:53 +0200
Test Case '-[OFHashTests testByName]' started.
Test Case '-[OFHashTests testByName]' passed (0.000 seconds).
Test Case '-[OFHashTests testFIPS180_1]' started.
Test Case '-[OFHashTests testFIPS180_1]' passed (0.005 seconds).
Test Case '-[OFHashTests testGilloglyGrieu]' started.
Test Case '-[OFHashTests testGilloglyGrieu]' passed (0.000 seconds).
Test Case '-[OFHashTests testGilloglyGrieu_Huge]' started.
2010-09-27 14:26:53.282 otest-i386[28684:903] *** SKIPPING slow test [OFHashTests testGilloglyGrieu_Huge]
Test Case '-[OFHashTests testGilloglyGrieu_Huge]' passed (0.001 seconds).
Test Case '-[OFHashTests testRFC1321]' started.
Test Case '-[OFHashTests testRFC1321]' passed (0.000 seconds).
Test Case '-[OFHashTests testSHA256]' started.
Test Case '-[OFHashTests testSHA256]' passed (0.029 seconds).
Test Case '-[OFHashTests testSHA256_Huge]' started.
2010-09-27 14:26:53.312 otest-i386[28684:903] *** SKIPPING slow test [OFHashTests testSHA256_Huge]
Test Case '-[OFHashTests testSHA256_Huge]' passed (0.001 seconds).
Test Case '-[OFHashTests testSHA256_NIST]' started.
Test Case '-[OFHashTests testSHA256_NIST]' passed (0.000 seconds).
Test Suite 'OFHashTests' finished at 2010-09-27 14:26:53 +0200.
Executed 8 tests, with 0 failures (0 unexpected) in 0.036 (0.037) seconds

Test Suite 'OFHeapTests' started at 2010-09-27 14:26:53 +0200
Test Case '-[OFHeapTests testHeapPermutations]' started.
Test Case '-[OFHeapTests testHeapPermutations]' passed (1.597 seconds).
Test Case '-[OFHeapTests testHeapSingle]' started.
Test Case '-[OFHeapTests testHeapSingle]' passed (0.000 seconds).
Test Suite 'OFHeapTests' finished at 2010-09-27 14:26:54 +0200.
Executed 2 tests, with 0 failures (0 unexpected) in 1.597 (1.597) seconds

Test Suite 'OFIndexSetTests' started at 2010-09-27 14:26:54 +0200
Test Case '-[OFIndexSetTests testComplexRange]' started.
Test Case '-[OFIndexSetTests testComplexRange]' passed (0.374 seconds).
Test Case '-[OFIndexSetTests testEmptySets]' started.
Test Case '-[OFIndexSetTests testEmptySets]' passed (0.000 seconds).
Test Case '-[OFIndexSetTests testIsolatedIndices]' started.
Test Case '-[OFIndexSetTests testIsolatedIndices]' passed (0.000 seconds).
Test Case '-[OFIndexSetTests testSimpleRange]' started.
Test Case '-[OFIndexSetTests testSimpleRange]' passed (0.000 seconds).
Test Suite 'OFIndexSetTests' finished at 2010-09-27 14:26:55 +0200.
Executed 4 tests, with 0 failures (0 unexpected) in 0.374 (0.428) seconds

Test Suite 'OFLowerCaseTests' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFLowerCaseTests testCaseInsensitiveDictionary]' started.
Test Case '-[OFLowerCaseTests testCaseInsensitiveDictionary]' passed (0.000 seconds).
Test Suite 'OFLowerCaseTests' finished at 2010-09-27 14:26:55 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds

Test Suite 'OFMutableAttributedStringExtensionsTest' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFMutableAttributedStringExtensionsTest testMutation]' started.
Test Case '-[OFMutableAttributedStringExtensionsTest testMutation]' passed (0.000 seconds).
Test Suite 'OFMutableAttributedStringExtensionsTest' finished at 2010-09-27 14:26:55 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFNSStringScannerTest' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFNSStringScannerTest testScanStringOfLength]' started.
Test Case '-[OFNSStringScannerTest testScanStringOfLength]' passed (0.000 seconds).
Test Suite 'OFNSStringScannerTest' finished at 2010-09-27 14:26:55 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds

Test Suite 'OFNumberFormatterTest' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFNumberFormatterTest testNegativeDecimalString]' started.
Test Case '-[OFNumberFormatterTest testNegativeDecimalString]' passed (0.000 seconds).
Test Suite 'OFNumberFormatterTest' finished at 2010-09-27 14:26:55 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFQuotedPrintableTests' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFQuotedPrintableTests testRFC2047EncodedWord]' started.
Test Case '-[OFQuotedPrintableTests testRFC2047EncodedWord]' passed (0.003 seconds).
Test Case '-[OFQuotedPrintableTests testRFC2047Phrase]' started.
Test Case '-[OFQuotedPrintableTests testRFC2047Phrase]' passed (0.000 seconds).
Test Case '-[OFQuotedPrintableTests testRFC822Word]' started.
Test Case '-[OFQuotedPrintableTests testRFC822Word]' passed (0.000 seconds).
Test Case '-[OFQuotedPrintableTests testURLDecoding]' started.
Test Case '-[OFQuotedPrintableTests testURLDecoding]' passed (0.000 seconds).
Test Case '-[OFQuotedPrintableTests testURLDecodingIURI]' started.
Test Case '-[OFQuotedPrintableTests testURLDecodingIURI]' passed (0.000 seconds).
Test Suite 'OFQuotedPrintableTests' finished at 2010-09-27 14:26:55 +0200.
Executed 5 tests, with 0 failures (0 unexpected) in 0.004 (0.004) seconds

Test Suite 'OFRationalTests' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFRationalTests testAdd]' started.
Test Case '-[OFRationalTests testAdd]' passed (0.000 seconds).
Test Case '-[OFRationalTests testCompare]' started.
Test Case '-[OFRationalTests testCompare]' passed (0.000 seconds).
Test Case '-[OFRationalTests testConvert]' started.
Test Case '-[OFRationalTests testConvert]' passed (0.000 seconds).
Test Case '-[OFRationalTests testConvertMinSig]' started.
Test Case '-[OFRationalTests testConvertMinSig]' passed (0.001 seconds).
Test Case '-[OFRationalTests testMultiply]' started.
Test Case '-[OFRationalTests testMultiply]' passed (0.000 seconds).
Test Case '-[OFRationalTests testRound]' started.
Test Case '-[OFRationalTests testRound]' passed (0.002 seconds).
Test Case '-[OFRationalTests testScan]' started.
Test Case '-[OFRationalTests testScan]' passed (0.000 seconds).
Test Suite 'OFRationalTests' finished at 2010-09-27 14:26:55 +0200.
Executed 7 tests, with 0 failures (0 unexpected) in 0.003 (0.003) seconds

Test Suite 'OFRegexpTests' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFRegexpTests testBackslashW]' started.
Test Case '-[OFRegexpTests testBackslashW]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testBadRegexp]' started.
Test Case '-[OFRegexpTests testBadRegexp]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testCharClass]' started.
Test Case '-[OFRegexpTests testCharClass]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testCharClassBackslashEquivalence]' started.
Test Case '-[OFRegexpTests testCharClassBackslashEquivalence]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testFoPlus]' started.
Test Case '-[OFRegexpTests testFoPlus]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testFoPlusQ]' started.
Test Case '-[OFRegexpTests testFoPlusQ]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testFooPlus]' started.
Test Case '-[OFRegexpTests testFooPlus]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testReplace]' started.
Test Case '-[OFRegexpTests testReplace]' passed (0.000 seconds).
Test Case '-[OFRegexpTests testSubexpressions]' started.
Test Case '-[OFRegexpTests testSubexpressions]' passed (0.000 seconds).
Test Suite 'OFRegexpTests' finished at 2010-09-27 14:26:55 +0200.
Executed 9 tests, with 0 failures (0 unexpected) in 0.001 (0.002) seconds

Test Suite 'OFRelativeDateParserTests' started at 2010-09-27 14:26:55 +0200
Test Case '-[OFRelativeDateParserTests testAt]' started.
Test Case '-[OFRelativeDateParserTests testAt]' passed (0.026 seconds).
Test Case '-[OFRelativeDateParserTests testBugs]' started.
Test Case '-[OFRelativeDateParserTests testBugs]' passed (0.068 seconds).
Test Case '-[OFRelativeDateParserTests testCanada]' started.
Test Case '-[OFRelativeDateParserTests testCanada]' passed (0.009 seconds).
Test Case '-[OFRelativeDateParserTests testCodes]' started.
Test Case '-[OFRelativeDateParserTests testCodes]' passed (0.399 seconds).
Test Case '-[OFRelativeDateParserTests testDayWeekCodes]' started.
2010-09-27 14:26:55.872 otest-i386[28684:903] Skipping test that fails due to bug in 10A222.
Test Case '-[OFRelativeDateParserTests testDayWeekCodes]' passed (0.008 seconds).
Test Case '-[OFRelativeDateParserTests testDegenerates]' started.
Test Case '-[OFRelativeDateParserTests testDegenerates]' passed (0.131 seconds).
Test Case '-[OFRelativeDateParserTests testErrors]' started.
Test Case '-[OFRelativeDateParserTests testErrors]' passed (0.007 seconds).
Test Case '-[OFRelativeDateParserTests testFriNoon]' started.
Test Case '-[OFRelativeDateParserTests testFriNoon]' passed (0.019 seconds).
Test Case '-[OFRelativeDateParserTests testLocaleMonths]' started.
Test Case '-[OFRelativeDateParserTests testLocaleMonths]' passed (1.567 seconds).
Test Case '-[OFRelativeDateParserTests testLocaleWeekdays]' started.
Test Case '-[OFRelativeDateParserTests testLocaleWeekdays]' passed (0.833 seconds).
Test Case '-[OFRelativeDateParserTests testNil]' started.
Test Case '-[OFRelativeDateParserTests testNil]' passed (0.008 seconds).
Test Case '-[OFRelativeDateParserTests testRandomCases]' started.
Test Case '-[OFRelativeDateParserTests testRandomCases]' passed (0.007 seconds).
Test Case '-[OFRelativeDateParserTests testRandomDatesAndRoundTrips]' started.
Test Case '-[OFRelativeDateParserTests testRandomDatesAndRoundTrips]' passed (0.117 seconds).
Test Case '-[OFRelativeDateParserTests testRelativeDateNames]' started.
Test Case '-[OFRelativeDateParserTests testRelativeDateNames]' passed (0.033 seconds).
Test Case '-[OFRelativeDateParserTests testSeperatedDates]' started.
Test Case '-[OFRelativeDateParserTests testSeperatedDates]' passed (0.058 seconds).
Test Case '-[OFRelativeDateParserTests testSweden]' started.
Test Case '-[OFRelativeDateParserTests testSweden]' passed (0.013 seconds).
Test Case '-[OFRelativeDateParserTests testTimes]' started.
Test Case '-[OFRelativeDateParserTests testTimes]' passed (0.031 seconds).
Test Case '-[OFRelativeDateParserTests testTwentyFourHourTime]' started.
Test Case '-[OFRelativeDateParserTests testTwentyFourHourTime]' passed (0.011 seconds).
Test Suite 'OFRelativeDateParserTests' finished at 2010-09-27 14:26:58 +0200.
Executed 18 tests, with 0 failures (0 unexpected) in 3.344 (3.624) seconds

Test Suite 'OFScannerTests' started at 2010-09-27 14:26:58 +0200
Test Case '-[OFScannerTests testScanLineComponentsSeparatedByString]' started.
Test Case '-[OFScannerTests testScanLineComponentsSeparatedByString]' passed (0.001 seconds).
Test Suite 'OFScannerTests' finished at 2010-09-27 14:26:58 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.001) seconds

Test Suite 'OFSetTests' started at 2010-09-27 14:26:58 +0200
Test Case '-[OFSetTests testInsertionSort]' started.
Test Case '-[OFSetTests testInsertionSort]' passed (0.000 seconds).
Test Case '-[OFSetTests testInsertionSortRandom]' started.
Test Case '-[OFSetTests testInsertionSortRandom]' passed (0.028 seconds).
Test Case '-[OFSetTests testSetFromArray]' started.
Test Case '-[OFSetTests testSetFromArray]' passed (0.000 seconds).
Test Case '-[OFSetTests testSetFromSet]' started.
Test Case '-[OFSetTests testSetFromSet]' passed (0.000 seconds).
Test Suite 'OFSetTests' finished at 2010-09-27 14:26:59 +0200.
Executed 4 tests, with 0 failures (0 unexpected) in 0.028 (0.035) seconds

Test Suite 'OFSortedArrayManipulations' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFSortedArrayManipulations testOrderByArray]' started.
Test Case '-[OFSortedArrayManipulations testOrderByArray]' passed (0.000 seconds).
Test Suite 'OFSortedArrayManipulations' finished at 2010-09-27 14:26:59 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFStringEncodingTests' started at 2010-09-27 14:26:59 +0200
Test Suite 'base64String' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringEncodingTests testCountingNybbles]' started.
Test Case '-[OFStringEncodingTests testCountingNybbles]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testRandomStrings]' started.
Test Case '-[OFStringEncodingTests testRandomStrings]' passed (0.043 seconds).
Test Case '-[OFStringEncodingTests testRepeatedbytes]' started.
Test Case '-[OFStringEncodingTests testRepeatedbytes]' passed (0.000 seconds).
Test Suite 'base64String' finished at 2010-09-27 14:26:59 +0200.
Executed 3 tests, with 0 failures (0 unexpected) in 0.044 (0.046) seconds

Test Suite 'ascii85String' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringEncodingTests testCountingNybbles]' started.
Test Case '-[OFStringEncodingTests testCountingNybbles]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testRandomStrings]' started.
Test Case '-[OFStringEncodingTests testRandomStrings]' passed (0.042 seconds).
Test Case '-[OFStringEncodingTests testRepeatedbytes]' started.
Test Case '-[OFStringEncodingTests testRepeatedbytes]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testKnownStrings:]' started.
Test Case '-[OFStringEncodingTests testKnownStrings:]' passed (0.000 seconds).
Test Suite 'ascii85String' finished at 2010-09-27 14:26:59 +0200.
Executed 4 tests, with 0 failures (0 unexpected) in 0.043 (0.045) seconds

Test Suite 'unadornedLowercaseHexString' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringEncodingTests testCountingNybbles]' started.
Test Case '-[OFStringEncodingTests testCountingNybbles]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testRandomStrings]' started.
Test Case '-[OFStringEncodingTests testRandomStrings]' passed (0.023 seconds).
Test Case '-[OFStringEncodingTests testRepeatedbytes]' started.
Test Case '-[OFStringEncodingTests testRepeatedbytes]' passed (0.000 seconds).
Test Suite 'unadornedLowercaseHexString' finished at 2010-09-27 14:26:59 +0200.
Executed 3 tests, with 0 failures (0 unexpected) in 0.024 (0.025) seconds

Test Suite 'ascii26String' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringEncodingTests testCountingNybbles]' started.
Test Case '-[OFStringEncodingTests testCountingNybbles]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testRandomStrings]' started.
Test Case '-[OFStringEncodingTests testRandomStrings]' passed (0.047 seconds).
Test Case '-[OFStringEncodingTests testRepeatedbytes]' started.
Test Case '-[OFStringEncodingTests testRepeatedbytes]' passed (0.000 seconds).
Test Case '-[OFStringEncodingTests testKnownStrings:]' started.
Test Case '-[OFStringEncodingTests testKnownStrings:]' passed (0.000 seconds).
Test Suite 'ascii26String' finished at 2010-09-27 14:26:59 +0200.
Executed 4 tests, with 0 failures (0 unexpected) in 0.047 (0.050) seconds

Test Suite 'OFStringEncodingTests' finished at 2010-09-27 14:26:59 +0200.
Executed 14 tests, with 0 failures (0 unexpected) in 0.157 (0.168) seconds

Test Suite 'OFStringExtensionTest' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringExtensionTest testAbbreviatedStringForHz]' started.
Test Case '-[OFStringExtensionTest testAbbreviatedStringForHz]' passed (0.000 seconds).
Test Case '-[OFStringExtensionTest testComponentsSeparatedByCharactersFromSet]' started.
Test Case '-[OFStringExtensionTest testComponentsSeparatedByCharactersFromSet]' passed (0.000 seconds).
Test Case '-[OFStringExtensionTest testDecimalFormatting]' started.
Test Case '-[OFStringExtensionTest testDecimalFormatting]' passed (0.000 seconds).
Test Case '-[OFStringExtensionTest testDecimalFormattingULP]' started.
Test Case '-[OFStringExtensionTest testDecimalFormattingULP]' passed (0.003 seconds).
Test Case '-[OFStringExtensionTest testFourCharCodes]' started.
Test Case '-[OFStringExtensionTest testFourCharCodes]' passed (0.037 seconds).
Test Case '-[OFStringExtensionTest testGenericReplace]' started.
Test Case '-[OFStringExtensionTest testGenericReplace]' passed (0.000 seconds).
Test Case '-[OFStringExtensionTest testGenericReplaceRange]' started.
Test Case '-[OFStringExtensionTest testGenericReplaceRange]' passed (0.005 seconds).
Test Case '-[OFStringExtensionTest testStringEncodingNames]' started.
2010-09-27 14:26:59.250 otest-i386[28684:903] Allowing ShiftJIS_X0213_00 to map to ShiftJIS (via "iana shift_jis") w/o unit test failure.
Test Case '-[OFStringExtensionTest testStringEncodingNames]' passed (0.004 seconds).
Test Case '-[OFStringExtensionTest testTrimming]' started.
Test Case '-[OFStringExtensionTest testTrimming]' passed (0.000 seconds).
Test Case '-[OFStringExtensionTest testWithCharacter]' started.
Test Case '-[OFStringExtensionTest testWithCharacter]' passed (0.000 seconds).
Test Suite 'OFStringExtensionTest' finished at 2010-09-27 14:26:59 +0200.
Executed 10 tests, with 0 failures (0 unexpected) in 0.050 (0.066) seconds

Test Suite 'OFStringPathUtilsTest' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringPathUtilsTest testFancySubpath]' started.
Test Case '-[OFStringPathUtilsTest testFancySubpath]' passed (0.007 seconds).
Test Case '-[OFStringPathUtilsTest testRelativePaths]' started.
Test Case '-[OFStringPathUtilsTest testRelativePaths]' passed (0.000 seconds).
Test Suite 'OFStringPathUtilsTest' finished at 2010-09-27 14:26:59 +0200.
Executed 2 tests, with 0 failures (0 unexpected) in 0.007 (0.008) seconds

Test Suite 'OFStringScannerTest' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringScannerTest testCharScanning]' started.
Test Case '-[OFStringScannerTest testCharScanning]' passed (0.000 seconds).
Test Suite 'OFStringScannerTest' finished at 2010-09-27 14:26:59 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds

Test Suite 'OFStringSplitting' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFStringSplitting testLimitedSplit]' started.
Test Case '-[OFStringSplitting testLimitedSplit]' passed (0.000 seconds).
Test Suite 'OFStringSplitting' finished at 2010-09-27 14:26:59 +0200.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFTestCase' started at 2010-09-27 14:26:59 +0200
Test Suite 'OFTestCase' finished at 2010-09-27 14:26:59 +0200.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds

Test Suite 'OFTimeSpanFormatterTest' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFTimeSpanFormatterTest testAllFormats]' started.
Test Case '-[OFTimeSpanFormatterTest testAllFormats]' passed (0.001 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryDays]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryDays]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryHours]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryHours]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryMonths]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryMonths]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryWeeks]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryWeeks]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryYears]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultEntryYears]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testDefaultFormatter]' started.
Test Case '-[OFTimeSpanFormatterTest testDefaultFormatter]' passed (0.001 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoDays]' started.
Test Case '-[OFTimeSpanFormatterTest testNoDays]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoFormats]' started.
Test Case '-[OFTimeSpanFormatterTest testNoFormats]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoHours]' started.
/Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation/Tests/OFTimeSpanFormatterTest.m:250: error: -[OFTimeSpanFormatterTest testNoHours] : '1y 1mo 1w 1.125d' should be equal to '1y 1mo 1w 1,125d'
/Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation/Tests/OFTimeSpanFormatterTest.m:255: error: -[OFTimeSpanFormatterTest testNoHours] : '-1y 1mo 1w 1.125d' should be equal to '-1y 1mo 1w 1,125d'
Test Case '-[OFTimeSpanFormatterTest testNoHours]' failed (0.001 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoMonth]' started.
Test Case '-[OFTimeSpanFormatterTest testNoMonth]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoWeeks]' started.
Test Case '-[OFTimeSpanFormatterTest testNoWeeks]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testNoYear]' started.
Test Case '-[OFTimeSpanFormatterTest testNoYear]' passed (0.000 seconds).
Test Case '-[OFTimeSpanFormatterTest testStandardCalendarTimeFormatter]' started.
Test Case '-[OFTimeSpanFormatterTest testStandardCalendarTimeFormatter]' passed (0.000 seconds).
Test Suite 'OFTimeSpanFormatterTest' finished at 2010-09-27 14:26:59 +0200.
Executed 14 tests, with 2 failures (0 unexpected) in 0.007 (0.008) seconds

Test Suite 'OFVersionNumberTest' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFVersionNumberTest testComparison]' started.
Test Case '-[OFVersionNumberTest testComparison]' passed (0.000 seconds).
Test Case '-[OFVersionNumberTest testIgnoringCruftAtEnd]' started.
Test Case '-[OFVersionNumberTest testIgnoringCruftAtEnd]' passed (0.000 seconds).
Test Case '-[OFVersionNumberTest testInvalid]' started.
Test Case '-[OFVersionNumberTest testInvalid]' passed (0.000 seconds).
Test Case '-[OFVersionNumberTest testVPrefix]' started.
Test Case '-[OFVersionNumberTest testVPrefix]' passed (0.000 seconds).
Test Case '-[OFVersionNumberTest testVersionStrings]' started.
Test Case '-[OFVersionNumberTest testVersionStrings]' passed (0.000 seconds).
Test Suite 'OFVersionNumberTest' finished at 2010-09-27 14:26:59 +0200.
Executed 5 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFXMLCursorTests' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFXMLCursorTests testBasicCursor]' started.
Test Case '-[OFXMLCursorTests testBasicCursor]' passed (0.000 seconds).
Test Case '-[OFXMLCursorTests testEnumerateChildren]' started.
Test Case '-[OFXMLCursorTests testEnumerateChildren]' passed (0.000 seconds).
Test Case '-[OFXMLCursorTests testOpenCloseElement]' started.
Test Case '-[OFXMLCursorTests testOpenCloseElement]' passed (0.000 seconds).
Test Suite 'OFXMLCursorTests' finished at 2010-09-27 14:26:59 +0200.
Executed 3 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite 'OFXMLDocumentTests' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFXMLDocumentTests testCDATAMerging]' started.
Test Case '-[OFXMLDocumentTests testCDATAMerging]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testEntityReading]' started.
Test Case '-[OFXMLDocumentTests testEntityReading]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testEntityWriting_ASCII]' started.
Test Case '-[OFXMLDocumentTests testEntityWriting_ASCII]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testEntityWriting_UTF8]' started.
Test Case '-[OFXMLDocumentTests testEntityWriting_UTF8]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testNilInputData]' started.
Test Case '-[OFXMLDocumentTests testNilInputData]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testReadingFile]' started.
Test Case '-[OFXMLDocumentTests testReadingFile]' passed (0.001 seconds).
Test Case '-[OFXMLDocumentTests testReadingFileWithWhitespaceHandling]' started.
Test Case '-[OFXMLDocumentTests testReadingFileWithWhitespaceHandling]' passed (0.002 seconds).
Test Case '-[OFXMLDocumentTests testRoundTripProcessingInstructions]' started.
Test Case '-[OFXMLDocumentTests testRoundTripProcessingInstructions]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testStringConcat]' started.
Test Case '-[OFXMLDocumentTests testStringConcat]' passed (0.000 seconds).
Test Case '-[OFXMLDocumentTests testWriteDocumentWithOneChild]' started.
Test Case '-[OFXMLDocumentTests testWriteDocumentWithOneChild]' passed (0.001 seconds).
Test Case '-[OFXMLDocumentTests testWriteEmptyDocument]' started.
Test Case '-[OFXMLDocumentTests testWriteEmptyDocument]' passed (0.001 seconds).
Test Case '-[OFXMLDocumentTests testWriteSpacePreservation]' started.
Test Case '-[OFXMLDocumentTests testWriteSpacePreservation]' passed (0.001 seconds).
Test Suite 'OFXMLDocumentTests' finished at 2010-09-27 14:26:59 +0200.
Executed 12 tests, with 0 failures (0 unexpected) in 0.006 (0.008) seconds

Test Suite 'OFXMLReaderTests' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFXMLReaderTests testCloseElementSkippingEmptyElement]' started.
Test Case '-[OFXMLReaderTests testCloseElementSkippingEmptyElement]' passed (0.000 seconds).
Test Case '-[OFXMLReaderTests testCloseElementSkippingMultipleEmptyElement]' started.
Test Case '-[OFXMLReaderTests testCloseElementSkippingMultipleEmptyElement]' passed (0.000 seconds).
Test Case '-[OFXMLReaderTests testCopyStringWithEmbeddedElements]' started.
Test Case '-[OFXMLReaderTests testCopyStringWithEmbeddedElements]' passed (0.000 seconds).
Test Case '-[OFXMLReaderTests testOpenEmptyElement]' started.
Test Case '-[OFXMLReaderTests testOpenEmptyElement]' passed (0.000 seconds).
Test Case '-[OFXMLReaderTests testReadBoolContents]' started.
Test Case '-[OFXMLReaderTests testReadBoolContents]' passed (0.001 seconds).
Test Case '-[OFXMLReaderTests testReadLongContents]' started.
Test Case '-[OFXMLReaderTests testReadLongContents]' passed (0.001 seconds).
Test Case '-[OFXMLReaderTests testSkippingEmptyElement]' started.
Test Case '-[OFXMLReaderTests testSkippingEmptyElement]' passed (0.000 seconds).
Test Suite 'OFXMLReaderTests' finished at 2010-09-27 14:26:59 +0200.
Executed 7 tests, with 0 failures (0 unexpected) in 0.002 (0.004) seconds

2010-09-27 14:26:59.285 otest-i386[28684:903] Creating temporary keychain /var/folders/Qf/QfGDMIQAFrWuJyNi-5iwtE+++TI/-Tmp-/OFUnitTests1.keychain ...
Test Suite 'OFXMLSignatureKeychainTests' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFXMLSignatureKeychainTests testSign]' started.
Test Case '-[OFXMLSignatureKeychainTests testSign]' passed (0.010 seconds).
Test Case '-[OFXMLSignatureKeychainTests testSignAndBreak]' started.
Test Case '-[OFXMLSignatureKeychainTests testSignAndBreak]' passed (0.010 seconds).
Test Suite 'OFXMLSignatureKeychainTests' finished at 2010-09-27 14:26:59 +0200.
Executed 2 tests, with 0 failures (0 unexpected) in 0.020 (0.021) seconds

2010-09-27 14:26:59.698 otest-i386[28684:903] Removing temporary keychain
Test Suite 'OFXMLSignatureTests_Abstract' started at 2010-09-27 14:26:59 +0200
Test Suite 'OFXMLSignatureTests_Abstract' finished at 2010-09-27 14:26:59 +0200.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds

2010-09-27 14:26:59.835 otest-i386[28684:903] Unpacking 01-merlin-xmldsig-twenty-three.tar.gz into temporary directory...
Test Suite 'OFXMLSignatureTests_Merlin' started at 2010-09-27 14:26:59 +0200
Test Case '-[OFXMLSignatureTests_Merlin testCertEmbedded]' started.
2010-09-27 14:26:59.857 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-x509-crt.xml: is an external reference.
2010-09-27 14:26:59.994 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-x509-crt-crl.xml: is an external reference.
Test Case '-[OFXMLSignatureTests_Merlin testCertEmbedded]' passed (0.142 seconds).
Test Case '-[OFXMLSignatureTests_Merlin testCertReferences]' started.
2010-09-27 14:26:59.999 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-x509-ski.xml: is an external reference.
Test Case '-[OFXMLSignatureTests_Merlin testCertReferences]' passed (0.005 seconds).
Test Case '-[OFXMLSignatureTests_Merlin testDSAEnveloped]' started.
2010-09-27 14:27:00.004 otest-i386[28684:903] -> Ref 0 of signature-enveloped-dsa.xml passed
Test Case '-[OFXMLSignatureTests_Merlin testDSAEnveloped]' passed (0.004 seconds).
Test Case '-[OFXMLSignatureTests_Merlin testEnvelopingVarious]' started.
2010-09-27 14:27:00.009 otest-i386[28684:903] -> Ref 0 of signature-enveloping-dsa.xml passed
2010-09-27 14:27:00.010 otest-i386[28684:903] -> Ref 0 of signature-enveloping-rsa.xml passed
2010-09-27 14:27:00.011 otest-i386[28684:903] -> Ref 0 of signature-enveloping-hmac-sha1.xml passed
2010-09-27 14:27:00.015 otest-i386[28684:903] -> Ref 0 of signature-enveloping-b64-dsa.xml passed
Test Case '-[OFXMLSignatureTests_Merlin testEnvelopingVarious]' passed (0.011 seconds).
Test Case '-[OFXMLSignatureTests_Merlin testExternalVarious]' started.
2010-09-27 14:27:00.020 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-external-b64-dsa.xml: is an external reference.
2010-09-27 14:27:00.024 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-external-dsa.xml: is an external reference.
Test Case '-[OFXMLSignatureTests_Merlin testExternalVarious]' passed (0.008 seconds).
Test Suite 'OFXMLSignatureTests_Merlin' finished at 2010-09-27 14:27:00 +0200.
Executed 5 tests, with 0 failures (0 unexpected) in 0.171 (0.172) seconds

2010-09-27 14:27:00.025 otest-i386[28684:903] Removing scratch directory /var/folders/Qf/QfGDMIQAFrWuJyNi-5iwtE+++TI/-Tmp-/merlin1
2010-09-27 14:27:00.032 otest-i386[28684:903] Unpacking phaos-xmldsig-three.zip into temporary directory...
Test Suite 'OFXMLSignatureTests_Phaos' started at 2010-09-27 14:27:00 +0200
Test Case '-[OFXMLSignatureTests_Phaos testDSADetached]' started.
2010-09-27 14:27:00.056 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-dsa-detached.xml: is an external reference.
2010-09-27 14:27:00.060 otest-i386[28684:903] -> Ref 0 of signature-dsa-manifest.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testDSADetached]' passed (0.009 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testDSAEnveloped]' started.
2010-09-27 14:27:00.065 otest-i386[28684:903] -> Ref 0 of signature-dsa-enveloped.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testDSAEnveloped]' passed (0.005 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testDSAEnveloping]' started.
2010-09-27 14:27:00.070 otest-i386[28684:903] -> Ref 0 of signature-dsa-enveloping.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testDSAEnveloping]' passed (0.005 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testHMACVarious]' started.
2010-09-27 14:27:00.071 otest-i386[28684:903] -> Ref 0 of signature-hmac-md5-c14n-enveloping.xml passed
2010-09-27 14:27:00.072 otest-i386[28684:903] -> Ref 0 of signature-hmac-sha1-exclusive-c14n-enveloped.xml passed
2010-09-27 14:27:00.074 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-hmac-sha1-exclusive-c14n-comments-detached.xml: is an external reference.
Test Case '-[OFXMLSignatureTests_Phaos testHMACVarious]' passed (0.004 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testRSADetached]' started.
2010-09-27 14:27:00.076 otest-i386[28684:903] SKIPPING test of ref 0 (count=1) of signature-rsa-detached.xml: is an external reference.
2010-09-27 14:27:00.077 otest-i386[28684:903] -> Ref 0 of signature-rsa-manifest.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testRSADetached]' passed (0.003 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnveloped]' started.
2010-09-27 14:27:00.079 otest-i386[28684:903] -> Ref 0 of signature-rsa-enveloped.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnveloped]' passed (0.002 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnvelopedBadDigest]' started.
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnvelopedBadDigest]' passed (0.001 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnvelopedBadSignature]' started.
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnvelopedBadSignature]' passed (0.001 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnveloping]' started.
2010-09-27 14:27:00.084 otest-i386[28684:903] -> Ref 0 of signature-rsa-enveloping.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testRSAEnveloping]' passed (0.002 seconds).
Test Case '-[OFXMLSignatureTests_Phaos testX509Various]' started.
2010-09-27 14:27:00.086 otest-i386[28684:903] -> Ref 0 of signature-rsa-manifest-x509-data-ski.xml passed
2010-09-27 14:27:00.088 otest-i386[28684:903] -> Ref 0 of signature-rsa-manifest-x509-data-cert.xml passed
Test Case '-[OFXMLSignatureTests_Phaos testX509Various]' passed (0.005 seconds).
Test Suite 'OFXMLSignatureTests_Phaos' finished at 2010-09-27 14:27:00 +0200.
Executed 10 tests, with 0 failures (0 unexpected) in 0.036 (0.038) seconds

2010-09-27 14:27:00.089 otest-i386[28684:903] Removing scratch directory /var/folders/Qf/QfGDMIQAFrWuJyNi-5iwtE+++TI/-Tmp-/phaos1
Test Suite 'OFXMLStringTests' started at 2010-09-27 14:27:00 +0200
Test Case '-[OFXMLStringTests testCharacterQuoting]' started.
Test Case '-[OFXMLStringTests testCharacterQuoting]' passed (0.000 seconds).
Test Case '-[OFXMLStringTests testDefaultQuoting]' started.
Test Case '-[OFXMLStringTests testDefaultQuoting]' passed (0.000 seconds).
Test Case '-[OFXMLStringTests testHTMLQuoting]' started.
Test Case '-[OFXMLStringTests testHTMLQuoting]' passed (0.000 seconds).
Test Case '-[OFXMLStringTests testNewlineReplacement]' started.
Test Case '-[OFXMLStringTests testNewlineReplacement]' passed (0.000 seconds).
Test Case '-[OFXMLStringTests testNoQuoting]' started.
Test Case '-[OFXMLStringTests testNoQuoting]' passed (0.000 seconds).
Test Suite 'OFXMLStringTests' finished at 2010-09-27 14:27:00 +0200.
Executed 5 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds

Test Suite '/Users/Shared/myuser/Products/Release/OFUnitTests.octest(Tests)' finished at 2010-09-27 14:27:00 +0200.
Executed 213 tests, with 2 failures (0 unexpected) in 8.170 (9.164) seconds

/Developer/Tools/RunPlatformUnitTests.include:448: error: Failed tests for architecture 'i386' (GC OFF)
/Developer/Tools/RunPlatformUnitTests.include:462: note: Completed tests for architectures 'x86_64 i386'
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest
cd /Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation
/usr/bin/touch -c /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest

SetOwnerAndGroup "myuser:staff" /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest
cd /Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation
/usr/sbin/chown -RH myuser:staff /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest

SetMode a+rX /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest
cd /Users/myuser/iOSprojects/OmniGroup/Frameworks/OmniFoundation
/bin/chmod -RH a+rX /Users/Shared/myuser/Products/Builds/UninstalledProducts/OFUnitTests.octest

** BUILD FAILED **

The following build commands failed:
OFUnitTests:
PhaseScriptExecution "Run Tests" /Users/Shared/myuser/Products/Builds/OmniFoundation.build/Release/OFUnitTests.build/Script-340478D408BE626600BE1C39.sh
(1 failure)

Build failed in (OmniGroup/Frameworks/OmniFoundation(OFUnitTests))

Contributor

wiml commented Sep 27, 2010

Ah, the problem is that the tests for the date formatter aren't dealing with localized number formats well (the "right answer" varies according to locale):

/OFTimeSpanFormatterTest.m:250: error: -[OFTimeSpanFormatterTest testNoHours] : '1y 1mo 1w 1.125d' should be equal to '1y 1mo 1w 1,125d' OFTimeSpanFormatterTest.m:255: error: -[OFTimeSpanFormatterTest testNoHours] : '-1y 1mo 1w 1.125d' should be equal to '-1y 1mo 1w 1,125d'

Contributor

tjw commented May 31, 2017

Fixed in e41f80f (which I accidentally attributed to #9).

@tjw tjw closed this May 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment