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

Print error trace when tests fail #286

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

ashetty1
Copy link
Contributor

No description provided.

@@ -36,9 +36,11 @@ func runCmd(cmdS string) string {
err := cmd.Run()

if err != nil {
log.Fatal(err)
fmt.Println(fmt.Sprint(err) + ": " + stderr.String())
os.Exit(1)
Copy link
Member

Choose a reason for hiding this comment

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

wouldn't this prevent executing following tests?
If one test fails we shouldn't stop testing, but rather skip to the next one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kadel currently we have most tests in one block. Most tests would need the previous operation to succeed.

@kadel kadel merged commit d88b04d into redhat-developer:master Apr 3, 2018
@ashetty1 ashetty1 mentioned this pull request Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants