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

Running an individual scenario with ember try returns a nonzero exit code when all tests pass #5

Closed
habdelra opened this issue Apr 1, 2015 · 2 comments

Comments

@habdelra
Copy link
Contributor

habdelra commented Apr 1, 2015

So I saw that when you run an individual scenario with ember try foo, and the tests all pass, a non-zero exit code will still be returned, causing travis to fail the test. (However, ember try:testall exits with a 0 code when all the tests pass).

@kategengler
Copy link
Member

I just noticed this today too. Definitely needs some investigation.

@habdelra
Copy link
Contributor Author

habdelra commented Apr 1, 2015

For the time being I'm using this little shell script to run my mulitple scenarios:

#!/bin/sh
echo "Running ember try for channel: ${EMBER_CHANNEL}"
cp -f "./config/ember-try-${EMBER_CHANNEL}.js" ./config/ember-try.js
ember try:testall
exit_code=$?
rm ./config/ember-try.js
exit ${exit_code}

where I have an ember-try-release.js, ember-try-beta.js and an ember-try-canary.js file, with just one scenario each.

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

No branches or pull requests

2 participants