         Target(
             name: "RxCocoa",
             dependencies: rxCocoaDependencies
-        ),
+        )
+] + (RxTestIsTarget ? [
         Target(
             name: "RxTest",
             dependencies: [
                 .Target(name: "RxSwift")
             ]
         ),
-    ]
+] : [])
  
 #if os(Linux) 
     let cocoaRuntime: [Target] = []   

import PackageDescription

let buildTests = false

#if os(Linux)
let rxCocoaDependencies: [Target.Dependency] = [

        )
    ] : [])

let testExcludes: [String] = (buildTests ? [] : ["Sources/AllTestz"]) + (RxTestIsTarget ? [] : ["Sources/RxTest"])

#if os(Linux)

