     }
 }
 
-func XCTAssertBuilds(paths: String..., file: MyString = __FILE__, line: UInt = __LINE__) {
+func XCTAssertBuilds(paths: String..., file: StaticString = __FILE__, line: UInt = __LINE__) {
     let prefix = Path.join(paths)
     do {
         try executeSwiftBuild(prefix)

    return try popen([toolPath, "--chdir", chdir], redirectStandardError: true, printOutput: false, environment: env)
}

func mktmpdir(file: MyString = __FILE__, line: UInt = __LINE__, @noescape body: (String) throws -> Void) {
    do {
        try POSIX.mkdtemp("spm-tests") { dir in
            defer { _ = try? rmtree(dir) }

    }
}

func XCTAssertBuildFails(paths: String..., file: StaticString = __FILE__, line: UInt = __LINE__) {
    let prefix = Path.join(paths)
    if (try? executeSwiftBuild(prefix)) != nil {
        XCTFail("`swift build' succeeded but should have failed", file: file, line: line)
    }
}

func XCTAssertFileExists(paths: String..., file: StaticString = __FILE__, line: UInt = __LINE__) {
    let path = Path.join(paths)
    if !path.isFile {
        XCTFail("Expected file doesn’t exist: \(path)", file: file, line: line)
    }
}

func XCTAssertDirectoryExists(paths: String..., file: StaticString = __FILE__, line: UInt = __LINE__) {
    let path = Path.join(paths)
    if !path.isDirectory {
        XCTFail("Expected directory doesn’t exist: \(path)", file: file, line: line)
    }
}

func XCTAssertNoSuchPath(paths: String..., file: StaticString = __FILE__, line: UInt = __LINE__) {
    let path = Path.join(paths)
    if path.exists {
        XCTFail("path exists by should not: \(path)", file: file, line: line)
