You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): resolve integration test routing, gotestsum PATH, and cross-compilation
- Remove broken test-integration target: TAGS=integration bypassed the t/
runner, skipping Docker Compose orchestration and plugin compilation that
integration tests require. Use SUITE= to route through the t/ runner instead.
- Fix gotestsum PATH resolution in t/t.go: add gotestsumBin() that resolves
to $GOPATH/bin/gotestsum instead of relying on PATH lookup, which fails on
machines where $GOPATH/bin is not in PATH.
- Add cross-compilation support for Go plugins on macOS: detect non-Linux
hosts and set CGO_ENABLED=1, CC to the appropriate cross-compiler, and
use the BFD linker (both testutil/plugin.go and dgraphtest/local_cluster.go).
- Add check-cross-compiler.sh dependency check script.
- Add top-level make deps and make setup targets for dependency management.
- Update TESTING.md and CONTRIBUTING.md to document new targets and recommend
make setup for first-time onboarding.
- Remove test-integration from test-full (redundant: SUITE=all covers it).
0 commit comments