~jonas-drange/ubuntu-push/poller-checks-send-recv

« back to all changes in this revision

Viewing changes to debian/rules

[r=pedronis] Remove the clean up loop and instead clean up whenever it is needed. This ensures that the notification list is always up to date and fixes an issue where Gmail notifications might be missed due to outdated information about the current state (LP: #1451510). Also includes tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# (should go away once we ship go 1.3)
13
13
override_dh_auto_test:
14
14
        cd $$( find ./ -type d -regex '\./[^/]*/src/launchpad.net' -printf "%h\n" | head -n1) && \
15
 
        env GOPATH=$$(cd ..; pwd) go test -v $$(env GOPATH=$$(cd ..; pwd) go list $(DH_GOPKG)/... | grep -v acceptance | grep -v http13client )
 
15
        env GOPATH=$$(cd ..; pwd) go test -race -v $$(env GOPATH=$$(cd ..; pwd) go list $(DH_GOPKG)/... | grep -v acceptance | grep -v http13client )
16
16
 
17
17
override_dh_install:
18
18
        dh_install -Xusr/bin/cmd --fail-missing
19
19
 
20
20
%:
21
 
        dh $@ --buildsystem=golang --with=golang
 
21
        dh $@ --buildsystem=golang --with=golang --parallel