-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MBS-2819: move runner to a separate repository
- Loading branch information
Vladislav Alekseev
committed
Sep 4, 2018
1 parent
a575e8f
commit f1c39a2
Showing
179 changed files
with
11,847 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
/*.xcodeproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
generate: | ||
swift package generate-xcodeproj --xcconfig-overrides Package.xcconfig | ||
.PHONY: generate | ||
|
||
open: generate | ||
open AvitoUITestRunner.xcodeproj | ||
|
||
build: | ||
swift build -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13" --static-swift-stdlib | ||
|
||
run: | ||
swift run -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13" --static-swift-stdlib | ||
|
||
test: | ||
swift test -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "Socket", | ||
"repositoryURL": "https://github.com/IBM-Swift/BlueSocket", | ||
"state": { | ||
"branch": null, | ||
"revision": "26c8f4e4e3000421a0c97aaf0c7b5e9aa5475222", | ||
"version": "0.12.94" | ||
} | ||
}, | ||
{ | ||
"package": "CSSH", | ||
"repositoryURL": "https://github.com/jakeheis/CSSH", | ||
"state": { | ||
"branch": null, | ||
"revision": "579a20508ab598f78713a60fed95706efd06bbcb", | ||
"version": "1.0.3" | ||
} | ||
}, | ||
{ | ||
"package": "Shout", | ||
"repositoryURL": "https://github.com/beefon/Shout", | ||
"state": { | ||
"branch": "master", | ||
"revision": "b0111c62c1a0b67dd602d3ccf10508dd6ec53fa4", | ||
"version": null | ||
} | ||
}, | ||
{ | ||
"package": "SwiftPM", | ||
"repositoryURL": "https://github.com/apple/swift-package-manager.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "6983434787dec4e543e9d398a0a9acf63ccd4da1", | ||
"version": "0.2.1" | ||
} | ||
}, | ||
{ | ||
"package": "Swifter", | ||
"repositoryURL": "https://github.com/httpswift/swifter.git", | ||
"state": { | ||
"branch": "stable", | ||
"revision": "b366f5ed088d9d0d216a9ce18ec726f7912c30f3", | ||
"version": null | ||
} | ||
}, | ||
{ | ||
"package": "ZIPFoundation", | ||
"repositoryURL": "https://github.com/weichsel/ZIPFoundation/", | ||
"state": { | ||
"branch": null, | ||
"revision": "b5c53bef2deb7b20659b03b1223f0942599e5c41", | ||
"version": "0.9.6" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,314 @@ | ||
// swift-tools-version:4.1 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AvitoUITestRunner", | ||
products: [ | ||
.executable(name: "AvitoRunner", targets: ["AvitoRunner"]), | ||
.executable(name: "fake_fbxctest", targets: ["FakeFbxctest"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.2.1"), | ||
.package(url: "https://github.com/beefon/Shout", .branch("master")), | ||
.package(url: "https://github.com/httpswift/swifter.git", .branch("stable")), | ||
.package(url: "https://github.com/weichsel/ZIPFoundation/", from: "0.9.6"), | ||
], | ||
targets: [ | ||
.target(name: "Ansi", dependencies: []), | ||
|
||
.target( | ||
name: "ArgumentsParser", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging", | ||
"Models", | ||
"RuntimeDump", | ||
"Utility" | ||
]), | ||
|
||
.target( | ||
name: "AvitoRunner", | ||
dependencies: [ | ||
"ArgumentsParser", | ||
"ChromeTracing", | ||
"Deployer", | ||
"DistRun", | ||
"DistWork", | ||
"JunitReporting", | ||
"LaunchdUtils", | ||
"ProcessController", | ||
"SSHDeployer", | ||
"ScheduleStrategy", | ||
"Scheduler" | ||
]), | ||
.testTarget( | ||
name: "AvitoRunnerTests", | ||
dependencies: [ | ||
"Extensions", | ||
"SimulatorPool" | ||
]), | ||
|
||
.target( | ||
name: "ChromeTracing", | ||
dependencies: [ | ||
"Models" | ||
]), | ||
|
||
.target( | ||
name: "Deployer", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging", | ||
"Utility", | ||
"ZIPFoundation", | ||
]), | ||
.testTarget( | ||
name: "DeployerTests", | ||
dependencies: [ | ||
"Deployer" | ||
]), | ||
|
||
.target( | ||
name: "DistRun", | ||
dependencies: [ | ||
"Deployer", | ||
"Extensions", | ||
"HostDeterminer", | ||
"LaunchdUtils", | ||
"Logging", | ||
"Models", | ||
"RESTMethods", | ||
"RuntimeDump", | ||
"ScheduleStrategy", | ||
"SSHDeployer", | ||
"Swifter", | ||
"SynchronousWaiter", | ||
"Utility" | ||
]), | ||
.testTarget( | ||
name: "DistRunTests", | ||
dependencies: [ | ||
"Deployer", | ||
"DistRun" | ||
]), | ||
|
||
.target( | ||
name: "DistWork", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging", | ||
"Models", | ||
"RESTMethods", | ||
"Scheduler", | ||
"SimulatorPool", | ||
"SynchronousWaiter", | ||
"Utility" | ||
]), | ||
.testTarget( | ||
name: "DistWorkTests", | ||
dependencies: [ | ||
"DistWork", | ||
"Models", | ||
"RESTMethods", | ||
"Swifter", | ||
"SynchronousWaiter" | ||
]), | ||
|
||
.target( | ||
name: "Extensions", | ||
dependencies: []), | ||
.testTarget( | ||
name: "ExtensionsTests", | ||
dependencies: [ | ||
"Extensions", | ||
"Utility" | ||
]), | ||
|
||
.target( | ||
name: "FakeFbxctest", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging", | ||
"TestingFakeFbxctest" | ||
] | ||
), | ||
.target( | ||
name: "fbxctest", | ||
dependencies: [ | ||
"Ansi", | ||
"JSONStream", | ||
"HostDeterminer", | ||
"Logging", | ||
"ProcessController", | ||
"Utility" | ||
]), | ||
.target( | ||
name: "TestingFakeFbxctest", | ||
dependencies: [ | ||
"Extensions", | ||
"fbxctest", | ||
"Logging" | ||
]), | ||
|
||
.target( | ||
name: "HostDeterminer", | ||
dependencies: [ | ||
"Logging" | ||
]), | ||
|
||
.target( | ||
name: "JSONStream", | ||
dependencies: []), | ||
.testTarget( | ||
name: "JSONStreamTests", | ||
dependencies: [ | ||
"Utility", | ||
"JSONStream" | ||
]), | ||
|
||
.target( | ||
name: "JunitReporting", | ||
dependencies: []), | ||
.testTarget( | ||
name: "JunitReportingTests", | ||
dependencies: [ | ||
"Extensions", | ||
"JunitReporting" | ||
]), | ||
|
||
.target( | ||
name: "LaunchdUtils", | ||
dependencies: []), | ||
.testTarget( | ||
name: "LaunchdUtilsTests", | ||
dependencies: [ | ||
"LaunchdUtils" | ||
]), | ||
|
||
.target( | ||
name: "ListeningSemaphore", | ||
dependencies: [ | ||
]), | ||
.testTarget( | ||
name: "ListeningSemaphoreTests", | ||
dependencies: [ | ||
"ListeningSemaphore" | ||
]), | ||
|
||
.target( | ||
name: "Logging", | ||
dependencies: [ | ||
"Ansi" | ||
]), | ||
|
||
.target( | ||
name: "Models", | ||
dependencies: []), | ||
|
||
.target( | ||
name: "ProcessController", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging" | ||
]), | ||
|
||
.target( | ||
name: "RESTMethods", | ||
dependencies: [ | ||
"Models" | ||
]), | ||
|
||
.target( | ||
name: "Runner", | ||
dependencies: [ | ||
"fbxctest", | ||
"HostDeterminer", | ||
"Logging", | ||
"Models", | ||
"SimulatorPool" | ||
]), | ||
.testTarget( | ||
name: "RunnerTests", | ||
dependencies: [ | ||
"Extensions", | ||
"Models", | ||
"Runner", | ||
"ScheduleStrategy", | ||
"SimulatorPool", | ||
"TestingFakeFbxctest" | ||
] | ||
), | ||
|
||
.target( | ||
name: "RuntimeDump", | ||
dependencies: [ | ||
"Models", | ||
"Runner" | ||
]), | ||
|
||
.target( | ||
name: "Scheduler", | ||
dependencies: [ | ||
"ListeningSemaphore", | ||
"Logging", | ||
"Models", | ||
"Runner", | ||
"RuntimeDump", | ||
"ScheduleStrategy", | ||
"SimulatorPool" | ||
]), | ||
|
||
.target( | ||
name: "ScheduleStrategy", | ||
dependencies: [ | ||
"Extensions", | ||
"Logging", | ||
"Models" | ||
]), | ||
.testTarget( | ||
name: "ScheduleStrategyTests", | ||
dependencies: ["ScheduleStrategy"]), | ||
|
||
.target( | ||
name: "SimulatorPool", | ||
dependencies: [ | ||
"Extensions", | ||
"fbxctest", | ||
"Logging", | ||
"Models", | ||
"ProcessController", | ||
"Utility" | ||
]), | ||
.testTarget( | ||
name: "SimulatorPoolTests", | ||
dependencies: [ | ||
"Models", | ||
"SimulatorPool", | ||
"SynchronousWaiter" | ||
]), | ||
|
||
.target( | ||
name: "SSHDeployer", | ||
dependencies: [ | ||
"Ansi", | ||
"Extensions", | ||
"Logging", | ||
"Utility", | ||
"Deployer", | ||
"Shout" | ||
]), | ||
.testTarget( | ||
name: "SSHDeployerTests", | ||
dependencies: [ | ||
"SSHDeployer" | ||
]), | ||
|
||
.target( | ||
name: "SynchronousWaiter", | ||
dependencies: []), | ||
.testTarget( | ||
name: "SynchronousWaiterTests", | ||
dependencies: ["SynchronousWaiter"]) | ||
] | ||
) |
Oops, something went wrong.