           let compileArgs = jobs[0].commandLine
           XCTAssertTrue(compileArgs.contains((.flag("-frontend-parseable-output"))))
           try driver.run(jobs: jobs)
-          let invocationErrorOutput = try localFileSystem.readFileContents(errorBuffer).description
+          let invocationErrorOutput = try localFileSystem.readFileContents(errorBuffer).description.replacingOccurrences(of: "\r\n", with: "\n")
           XCTAssertTrue(invocationErrorOutput.contains(
           """
           {

      try withTemporaryDirectory { path in
        try withHijackedBufferedErrorStream(in: path) { errorBuffer in
          let resolver = try ArgsResolver(fileSystem: localFileSystem)
          var driver = try Driver(args: ["swiftc", "-o", "test.o",
                                         "main.swift", "test1.swift", "test2.swift",
                                         "-enable-batch-mode", "-driver-batch-count", "1",
                                         "-working-directory", "/WorkDir"])
          let jobs = try driver.planBuild()
          let compileJob = jobs[0]
          let args : [String] = try resolver.resolveArgumentList(for: compileJob, forceResponseFiles: false)

          let errorOutput = try localFileSystem.readFileContents(errorBuffer).description
          XCTAssertTrue(errorOutput.contains(
          """
            \"kind\" : \"\(kind)\",
            \"name\" : \"compile\",
            \"pid\" : -1000,
            \"process\" : {
              \"real_pid\" : 42
            }\(signal)
          }
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            \"kind\" : \"\(kind)\",
            \"name\" : \"compile\",
            \"pid\" : -1001,
            \"process\" : {
              \"real_pid\" : 42
            }\(signal)
          }
          """))
          XCTAssertTrue(errorOutput.contains(
          """
            \"kind\" : \"\(kind)\",
            \"name\" : \"compile\",
            \"pid\" : -1002,
            \"process\" : {
              \"real_pid\" : 42
            }\(signal)
          }
          """))
        }
