Details
-
Task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
master
-
1
Description
What's the issue?
We currently don't provide a way to run unit tests which uses the version of Go (et al) stored in cbdeps, this can cause issues with users on M1 laptops. See this thread for more information.
What's the fix?
We should consider moving out unit test setup/running to CMake so that it honors architecture variables etc setup in the TLM.
Another (potential) issue is the Golang version might differ between system default "go" and what a project expects (given the server supports multiple versions of Golang).
I suspect this might catch out new developers if they are used to just running "go build ..." / "go test ..." and things mostly work but they get different behaviour due to Golang version differences.