 
   // ASCII cases
   ComparisonTest(.LT, "t", "tt"),
-  ComparisonTest(.GT, "t", "Tt"),
-  ComparisonTest(.GT, "\u{0}", ""),
+  ComparisonTest(.GT, "t", "Tt",
+    xfail: .Custom({ objCPresent == false },
+      reason: "Compares in reverse with ICU, https://bugs.swift.org/browse/SR-530")),
+  ComparisonTest(.GT, "\u{0}", "",
+    xfail: .Custom({ objCPresent == false },
+      reason: "Null-related issue: https://bugs.swift.org/browse/SR-630")),
   ComparisonTest(.EQ, "\u{0}", "\u{0}"),
   // Currently fails:
   // ComparisonTest(.LT, "\r\n", "t"),

import StdlibUnittestFoundationExtras
#endif

var NSStringAPIs = TestSuite("NSStringAPIs")

struct ComparisonTest {
  let expectedUnicodeCollation: ExpectedComparisonResult
  let lhs: String
  let rhs: String
  let loc: SourceLoc

  init(
    _ expectedUnicodeCollation: ExpectedComparisonResult,
    _ lhs: String, _ rhs: String,
    file: String = __FILE__, line: UInt = __LINE__
  ) {
    self.expectedUnicodeCollation = expectedUnicodeCollation
    self.lhs = lhs
    self.rhs = rhs
    self.loc = SourceLoc(file, line, comment: "test data")
  }
}


  ComparisonTest(.EQ, "\u{212b}", "A\u{30a}"),
  ComparisonTest(.EQ, "\u{212b}", "\u{c5}"),
  ComparisonTest(.EQ, "A\u{30a}", "\u{c5}"),
  ComparisonTest(.LT, "A\u{30a}", "a",
    xfail: .Custom({ objCPresent == false },
      reason: "Compares in reverse with ICU, https://bugs.swift.org/browse/SR-530")),
  ComparisonTest(.LT, "A", "A\u{30a}"),

  // U+2126 OHM SIGN
