diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-09-23 11:42:15 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-09-23 11:42:15 -0400 |
commit | 3dc61246aa3db350e206c02d9cfb13ed0bd1e050 (patch) | |
tree | 8cef438c51e33eea8f6b9e43e805800c27b87706 | |
parent | e6ab83f551a56ecdcc368fc4aeadfc3769e75f0e (diff) | |
download | sdl_ios-3dc61246aa3db350e206c02d9cfb13ed0bd1e050.tar.gz |
Remove `.xctool.args` and update README with current testing information
-rw-r--r-- | .xctool-args | 7 | ||||
-rw-r--r-- | README.md | 6 |
2 files changed, 4 insertions, 9 deletions
diff --git a/.xctool-args b/.xctool-args deleted file mode 100644 index 27942e3b9..000000000 --- a/.xctool-args +++ /dev/null @@ -1,7 +0,0 @@ -[ - "-project", "SmartDeviceLink-iOS.xcodeproj", - "-scheme", "SmartDeviceLink", - "-sdk", "iphonesimulator", - "ONLY_ACTIVE_ARCH=NO", - "RUN_CLANG_STATIC_ANALYZER=NO" -] @@ -67,12 +67,14 @@ carthage bootstrap --platform ios cd ../ ``` -At this point, you can run tests from Xcode, or, if you wish to run the tests exactly as they will be run on the CI server, [install xctool](https://github.com/facebook/xctool#installation) and run: +At this point, you can run tests from Xcode, or, if you wish to run the tests exactly as they will be run on the CI server, run: ```bash -xctool test +xcodebuild -project "SmartDeviceLink-iOS.xcodeproj" -scheme "SmartDeviceLink" -sdk "iphonesimulator10.0" -destination "OS=10.0,name=iPhone 7" -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ENABLE_TESTABILITY=YES test ``` +You can optionally pipe the result to [xcpretty](https://github.com/supermarin/xcpretty). + ### SDL iOS Getting Started #### Other Installation Requirements |