Re-target to MacOS 10.7 SDK. Add timeout functionality.#1
Open
mpontillo wants to merge 3 commits intorpetrich:masterfrom
Open
Re-target to MacOS 10.7 SDK. Add timeout functionality.#1mpontillo wants to merge 3 commits intorpetrich:masterfrom
mpontillo wants to merge 3 commits intorpetrich:masterfrom
Conversation
(this project was no longer compiling with the latest Xcode) Change-Id: Ia75390332506beebce3fb490fba29e45a0caee24
This is a better solution than the previous commit, because we won't have to do this again when the 10.7 SDK is obsolete. Change-Id: I34238e317f214804038c15ef28cd52eea3b5d6a8
* Now exits the program if either no logs have been seen for the past N seconds (-t <N>), or if N seconds have elapsed (-t <N> -x). Change-Id: I09eec51dd57ccb44f4e09d339d2664e91795d8fe
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This project was no longer compiling with the latest Xcode. The first 2 commits clean that up.
The third commit adds two command-line parameters:
-t <timeout>
-x
If -t is used by itself, after 2 seconds plus the timeout have elapsed, deviceconsole will check if any more logs have been written out. If not, the program exits. The -x parameter modifies that behavior by exiting immediately after the number of seconds specified in the -t parameter have elapsed.
Change-Id: Ia75390332506beebce3fb490fba29e45a0caee24