Merge lp:~elopio/snappy/results_on_error into lp:~snappy-dev/snappy/snappy-moved-to-github

Proposed by Leo Arias
Status: Needs review
Proposed branch: lp:~elopio/snappy/results_on_error
Merge into: lp:~snappy-dev/snappy/snappy-moved-to-github
Diff against target: 20 lines (+6/-1)
1 file modified
run-checks (+6/-1)
To merge this branch: bzr merge lp:~elopio/snappy/results_on_error
Reviewer Review Type Date Requested Status
Snappy Developers Pending
Review via email: mp+273013@code.launchpad.net

Commit message

Print the integration subunit results on error.

To post a comment you must log in.

Unmerged revisions

730. By Leo Arias

Print the integration subunit results on error.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'run-checks'
2--- run-checks 2015-09-18 05:57:01 +0000
3+++ run-checks 2015-10-01 05:43:00 +0000
4@@ -83,11 +83,16 @@
5 # integration suite in kvm
6 if which adt-run >/dev/null 2>&1; then
7 echo "Running integration tests on rolling edge"
8- go run _integration-tests/main.go --snappy-from-branch
9+ result=0
10+ go run _integration-tests/main.go --snappy-from-branch --filter searchSuite || result=$?
11 # print the results.
12 if which subunit2pyunit >/dev/null 2>&1; then
13 subunit-1to2 /tmp/snappy-test/output/artifacts/results.subunit | subunit2pyunit
14 fi
15+ if [ "$result" -ne 0 ]; then
16+ echo "Integration tests failed"
17+ exit $result
18+ fi
19 fi
20 fi
21

Subscribers

People subscribed via source and target branches