Enhanced package and build to by default not include any source code

This commit is contained in:
NotZippy
2018-09-14 15:56:26 -07:00
parent d0baaeb9e9
commit 3ad381d45b
9 changed files with 88 additions and 24 deletions

View File

@@ -287,6 +287,7 @@ func runTestSuites(paths *model.RevelContainer, baseURL, resultPath string, test
err = json.NewDecoder(resp.Body).Decode(&testResult)
if err == nil && !testResult.Passed {
suiteResult.Passed = false
utils.Logger.Error("Test Failed","suite", suite.Name, "test", test.Name)
fmt.Printf(" %s.%s : FAILED\n", suite.Name, test.Name)
} else {
fmt.Printf(" %s.%s : PASSED\n", suite.Name, test.Name)