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 atoum command exit codes #98

Merged
merged 1 commit into from
May 16, 2016
Merged

Fix atoum command exit codes #98

merged 1 commit into from
May 16, 2016

Conversation

jubianchi
Copy link
Member

Closes #97

@maxailloud this should fix your issue. Would you have some time to test this branch and confirm it's OK ?

Thanks.

@@ -121,7 +121,27 @@ protected function execute(InputInterface $input, OutputInterface $output)
$reportCli->addWriter($writerCli);
}

$runner->run($this->getAtoumArguments());
try {
$score = $runner->run()->getRunner()->getScore();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you forgot to add the parameter $this->getAtoumArguments()to the run method because without it it's not working.
Without this parameters I have the message ``Error: Unable to add test file 'atoum'`.
But except that it's working nicely, good job man.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me fix it! Thanks for you feedback.

I'll update the PR, merge it and issue a new release ;)

@maxailloud
Copy link
Contributor

Thanks man.
Do you know when will you do a new release with that commit?

@jubianchi
Copy link
Member Author

@maxailloud in less than one hour ;)

@maxailloud
Copy link
Contributor

Sweet, thanks.

@jubianchi jubianchi deleted the exit-code branch May 16, 2016 13:49
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.

Bad exit value for the command
2 participants