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
Currently the Go target has some problems that prevented from passing tests. @Joakker and @prnvbn have agreed to help with the Go target so let's see if we can fix that first and then come back to #2504
...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.antlr.v4.test.runtime.go.TestCompositeLexers
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.406 sec <<< FAILURE! - in org.antlr.v4.test.runtime.go.TestCompositeLexers
org.antlr.v4.test.runtime.go.TestCompositeLexers Time elapsed: 0.406 sec <<< ERROR!
java.lang.Exception:
Non-zero exit while caching go runtime, output: go: go.mod file not found in current directory or any parent directory; see 'go help modules'
at org.antlr.v4.test.runtime.go.TestCompositeLexers.groupSetUp(TestCompositeLexers.java:24)
...
Ok, this one should be pretty easy to implement. go.mod is a signature file that describes the directory and all it's children as part of a module. Recent versions of the go tool have migrated to using only modules by default, so more than likely that's why it's complaining. I'll open a PR shortly with the file added
Seems like running go mod init would be enough. Also @Joakker you might have to pull some weight before the 14th of May as I have University exams. After that, I will make up for it!
Activity
Joakker commentedon May 4, 2021
Ok, this one should be pretty easy to implement.
go.modis a signature file that describes the directory and all it's children as part of a module. Recent versions of the go tool have migrated to using only modules by default, so more than likely that's why it's complaining. I'll open a PR shortly with the file addedprnvbn commentedon May 4, 2021
Seems like running
go mod initwould be enough. Also @Joakker you might have to pull some weight before the 14th of May as I have University exams. After that, I will make up for it!Joakker commentedon May 4, 2021
Is ok, no worries 😃
mitar commentedon May 11, 2021
Awesome. I can update my PR (#3174) to get tests to pass there, too.
parrt commentedon May 23, 2021
Comments from previous thread: #2504 (comment)