Skip to content

Commit

Permalink
Add TokamakCLITests to Tokamak (#94)
Browse files Browse the repository at this point in the history
* Add TokamakCLITests to Tokamak

* Add TEST_PATH to Tokamak scheme
  • Loading branch information
hodovani committed May 14, 2019
1 parent 5c65df1 commit 8377bf5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- git checkout HEAD Tokamak.xcodeproj/xcshareddata/xcschemes/TokamakCLI.xcscheme
- set -o pipefail && xcodebuild -scheme TokamakUIKit -sdk iphonesimulator | xcpretty
- set -o pipefail && xcodebuild -scheme TokamakAppKit -sdk macosx | xcpretty
- set -o pipefail && xcodebuild test -scheme TokamakCLI -sdk macosx | xcpretty
# this runs the build the second time, but it's the only way to make sure
# that `Package.swift` is in a good state
- swift build --target Tokamak
Expand Down
17 changes: 17 additions & 0 deletions Tokamak.xcodeproj/xcshareddata/xcschemes/Tokamak.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@
ReferencedContainer = "container:Tokamak.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Tokamak::TokamakCLITests"
BuildableName = "TokamakCLITests.xctest"
BlueprintName = "TokamakCLITests"
ReferencedContainer = "container:Tokamak.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down Expand Up @@ -70,6 +80,13 @@
ReferencedContainer = "container:Tokamak.xcodeproj">
</BuildableReference>
</MacroExpansion>
<EnvironmentVariables>
<EnvironmentVariable
key = "TEST_PATH"
value = "$(SRCROOT)/ValidationTests"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
Expand Down

0 comments on commit 8377bf5

Please sign in to comment.