Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: xArgs command update #2095

Merged
merged 2 commits into from
Jul 22, 2021
Merged

fix: xArgs command update #2095

merged 2 commits into from
Jul 22, 2021

Conversation

Sloox
Copy link
Contributor

@Sloox Sloox commented Jul 22, 2021

Fixes #1538

A small update to use a default option instead of failing straight out if the maxArgs is reached.

Checklist

  • Integration tests updated

@Sloox
Copy link
Contributor Author

Sloox commented Jul 22, 2021

@flank-it

@github-actions
Copy link
Contributor

github-actions bot commented Jul 22, 2021

Integration tests succeed for all OSs ✅
Windows Build scan: https://gradle.com/s/grxtuoq3rag2g
MacOS Build scan: https://gradle.com/s/ogsgbahg6vyg6
Linux Build scan: https://gradle.com/s/dst3rzv3mhj4k
Workflow run https://github.com/Flank/flank/actions/runs/1055996456

@github-actions
Copy link
Contributor

Timestamp: 2021-07-22 11:55:46
Buildscan url for ubuntu-workflow run 1055996103
https://gradle.com/s/xkkny6xdyuyru

@@ -45,3 +45,10 @@ internal fun parseSwiftTests(binary: String): List<String> {
}
return results.distinct()
}

private fun String.determineXArgsCommand(argsMax: Int) = if (this.length > argsMax) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private fun String.determineXArgsCommand(argsMax: Int) = if (this.length > argsMax) {
private fun String.determineXArgsCommand(argsMax: Int) = if (length > argsMax) {

@mergify mergify bot merged commit 7911f3f into master Jul 22, 2021
@mergify mergify bot deleted the #1538-xcrun-xargs branch July 22, 2021 15:30
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flank fails on scanning .xctest for iOS test names
3 participants