Enable print output in kitchen testing
Change-Id: Icd0e8d04f0fff8ca032b73e1d6001c4465c93c40
diff --git a/src/com/mirantis/mk/Ruby.groovy b/src/com/mirantis/mk/Ruby.groovy
index 6ed7671..323e1c9 100644
--- a/src/com/mirantis/mk/Ruby.groovy
+++ b/src/com/mirantis/mk/Ruby.groovy
@@ -50,7 +50,7 @@
for(int i=0;i<kitchenTestsList.size();i++){
def testSuite = kitchenTestsList[i]
kitchenTestRuns["kitchen-${testSuite}-${i}"] = {
- runKitchenCommand("converge " + testSuite, environment)
+ println runKitchenCommand("converge " + testSuite, environment)
}
}
if(parallel){
@@ -58,8 +58,8 @@
}else{
common.serial(kitchenTestRuns)
}
- runKitchenCommand("verify -t tests/integration", environment)
- runKitchenCommand("destroy", environment)
+ println runKitchenCommand("verify -t tests/integration", environment)
+ println runKitchenCommand("destroy", environment)
}else{
common.errorMsg("Cannot found kitchen test suites, kitchen list command returns bad output")
}