oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package equipotest
2
3import (
4 "os/exec"
5 "strings"
6 "testing"
7
8 "amadan.net/oficina/equipo/internal/testci"
9)
10
11func TestToolProxyManifestIndependent(t *testing.T) {
12 cmd := exec.Command("go", "list", "-deps", "../../cmd/equipo-tool-proxy")
13 testci.GoCommand(t, cmd)
14 raw, err := cmd.CombinedOutput()
15 if err != nil {
16 t.Fatalf("standalone helper unavailable: %v %s", err, raw)
17 }
18 for _, dep := range strings.Fields(string(raw)) {
19 if dep == "amadan.net/oficina/equipo/internal/runner" || dep == "amadan.net/oficina/equipo/internal/release" {
20 t.Fatalf("tool proxy depends on runner state or embedded release manifest: %s", dep)
21 }
22 }
23}
24