Commit 3ea6dcc
committed
build: run nano-init's tests instead of failing to start them
The Makefile exports CGO_ENABLED=0 for the whole file and the root
module's test line overrides it to 1, because -race needs cgo. The
nano-init line was added without that override, so it inherited 0 and
exited immediately with "-race requires cgo".
That failure took `make test` with it, which is how it was noticed. The
quieter half is that nano-init's tests have not run under `make test`
since they were added: the command never got as far as executing them.
With the override they run, and pass.1 parent 333c9bb commit 3ea6dcc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments