Golan: Error while executing test: signal: killed

I am getting this error when running make test on a Golang project:

signal: killed
FAIL <package name>
make: *** [test] Error 1

      

The same code worked fine until yesterday. Note. I tried to do the test on other branches, but the same result.

+3


source to share


2 answers


UPDATE as of 04/27/2012:

New Go1.8.1 (released on 2017/04/07) fixed this issue. Download and install the latest version.

OLD ANSWER:

The main reason is that Command Line Tool 8.3 is incompatible.



As per the solutions at https://github.com/golang/go/issues/19734 :

OR

  • use -ldflags -s

    to compile or run
+7


source


Thanks a lot @JimB



I uninstalled Xcode and now it works fine. Strange!

0


source







All Articles