     dependencies.append(dep)
   }
 
-  func parseTestTarget(yaml: Yaml) {
+  func parseTestTarget(yaml: Yaml) -> ParsingError? {
     var testTarget = TestTarget()
 
     if let hasSources = yaml["sources"].array {

  var testTarget: TestTarget?
  var testCompilerOptions: String = ""

  func parseFromString(string: String) {
    let yaml = Yaml.load(string)

    if let error = yaml.error {
      printAndExit(error)
    }

    // Map names to processors
    let map = [
      "name":                   self.parseName,
      "version":                self.parseVersion,
      "sources":                self.parseSources,

    }

    self.testTarget = testTarget
    return nil
  }

  func parseCompilerOptions(yaml: Yaml) -> ParsingError? {
    let options = yaml.string

    if options == nil {
      return ParsingError(message: "Invalid (non-string) compiler options")
    }

    self.compilerOptions = options!
    return nil
  }


