Skip to content

n9v9/goland-fix-go-15787

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLand Fix GO-15787

A makeshift fix for GoLand issue GO-15787.

Compile

See the justfile for available commands, or simply run just to get an overview.

> just
Available recipes:
    build    # Build the ready to run binary for the current system.
    clean    # Clean generated and built files.
    generate # Build BPF files and generate Go code.

Run

Ensure the binary is running, then select the specific test you want to execute from within GoLand. This can be a test function, a test from a table test or a complete package. The selected test should then be run via virtrun, and it should just work™.

How does it work

The eBPF program intercepts the execve(2) syscall, checks if the arguments match, and if they do, replaces them so the test is run via go test -exec ....

About

Makeshift fix for GoLand issue GO-15787.

Topics

Resources

Stars

Watchers

Forks