summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
authorJohn R. Lenton <jlenton@gmail.com>2018-10-19 09:40:28 +0100
committerJohn R. Lenton <jlenton@gmail.com>2018-10-19 09:43:11 +0100
commit9cde0eb3a86dfe31a9ad3880f1accce5e38eace7 (patch)
treea11ed80a9ab0a62bfd3888d8ffef91f49bf01578 /tests/unit
parent5ee89d60235d3e82e29dc0e37aa41c22cc5bcb6c (diff)
nuke tests/unit/go-darwin
With us building snap on darwin as part of a 'quick' test, we no longer have a use for tests/unit/go-darwin. Add to that that getting golang.org/x/sys/unix is proving to be flaky, and we've got a winner.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/go-darwin/task.yaml11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/unit/go-darwin/task.yaml b/tests/unit/go-darwin/task.yaml
deleted file mode 100644
index 15545d26d5..0000000000
--- a/tests/unit/go-darwin/task.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-summary: Build cmd/snap for darwin
-
-prepare: |
- snap install go --classic
- mkdir -p /tmp/darwin-build/src/github.com/snapcore
- cp -ar "$PROJECT_PATH" /tmp/darwin-build/src/github.com/snapcore
- chown -R test:12345 /tmp/darwin-build/
- GOPATH=/tmp/darwin-build /snap/bin/go get golang.org/x/sys/unix
-
-execute: |
- su -l -c "GOOS=darwin PATH=$PATH GOPATH=/tmp/darwin-build /snap/bin/go build -o /dev/null github.com/snapcore/snapd/cmd/snap" test