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

Proposed by Leo Arias on 2015-07-08
Status: Merged
Approved by: Leo Arias on 2015-07-14
Approved revision: 572
Merged at revision: 577
Proposed branch: lp:~elopio/snappy/test_the_tests_tests
Merge into: lp:~snappy-dev/snappy/snappy-moved-to-github
Diff against target: 22 lines (+8/-2)
1 file modified
run-checks (+8/-2)
To merge this branch: bzr merge lp:~elopio/snappy/test_the_tests_tests
Reviewer Review Type Date Requested Status
Federico Gimenez (community) 2015-07-08 Approve on 2015-07-14
Review via email: mp+264170@code.launchpad.net

Commit Message

Run the tests for the integration helpers.

Description of the Change

mvo added tests for the common integration helpers. We want to run them on the host, not on the test bed.

To post a comment you must log in.
Federico Gimenez (fgimenez) wrote :

LGTM, thanks!

review: Approve

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-07-02 06:02:47 +0000
3+++ run-checks 2015-07-08 15:51:50 +0000
4@@ -65,10 +65,16 @@
5 exit 1
6 fi
7
8-# always build
9+
10+# integration tests
11+echo Building the integration tests
12 go build _integration-tests/main.go
13
14-# integration tests
15+# the rabbit hole
16+echo Running the tests for the integration helpers
17+$goctest -v -cover ./_integration-tests/tests/common/...
18+
19+# integration suite in kvm
20 if which adt-run >/dev/null 2>&1; then
21 echo "Running integration tests"
22 go run _integration-tests/main.go --snappy-from-branch

Subscribers

People subscribed via source and target branches