| 1 | #!/bin/sh |
| 2 | |
| 3 | # The point of this test is to verify that the sources installed into the |
| 4 | # golang-github-containerd-containerd-dev can be compiled using just |
| 5 | # the dependencies specified in that binary package. |
| 6 | # In contrast to the 'dh-golang-autopkgtest', this is intended to catch |
| 7 | # missing dependencies that are listed in the Build-Depends only |
| 8 | |
| 9 | set -ex |
| 10 | |
| 11 | mkdir -p _clean_build |
| 12 | cp -a /usr/share/gocode/src _clean_build/ |
| 13 | dh_auto_build --buildsystem=golang --builddirectory=_clean_build 2>&1 |