Skip to content

Commit

Permalink
Migrate diktat smoke tests to SAVE-cli mechanism
Browse files Browse the repository at this point in the history
### What's done:
* migrated diktat smoke tests to SAVE-cli mechanism
Closes #1383
  • Loading branch information
Cheshiriks committed Jul 11, 2022
1 parent 756aa5e commit ea5268c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ open class FixTestBase(
val systemName = System.getProperty("os.name")
return when {
systemName.startsWith("Linux", ignoreCase = true) || systemName.startsWith("Mac", ignoreCase = true) ->
ProcessBuilder("chmod", "-R", "777", filesDir, "&", saveDir, "src/test/resources/test/smoke/src/main/kotlin", expectedPath, testPath)
ProcessBuilder("chmod", "-R", "777", filesDir, "&", saveDir, "src/test/resources/test/smoke/src/main/kotlin", expectedPath, testPath, "--log", "all")
else -> ProcessBuilder(saveDir, "src/test/resources/test/smoke/src/main/kotlin", expectedPath, testPath)
}
}
Expand Down Expand Up @@ -155,6 +155,8 @@ open class FixTestBase(
ktlint.delete()
save.delete()

println("saveOutput - saveOutput - saveOutput - $saveOutput")

Assertions.assertTrue(
saveOutput.contains("SUCCESS")
)
Expand Down

0 comments on commit ea5268c

Please sign in to comment.