xgo_test/

directory
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT

README

Test using xgo

The xgo_test directory are for testing if xgo link names correctly.

These tests should be driven by xgo.

To test:

# run all
go run ./cmd/xgo test ./test/xgo_test/...

# run specific one
go run ./cmd/xgo test -run TestMethodValueCompare -v ./test/xgo_test/...

Or use the run-test script:

go run ./script/run-test/ --xgo-test-only -count=1

To debug the test:

go run ./cmd/xgo test -c -o debug.bin -gcflags="all=-N -l"  ./test/xgo_test/method_value_cmp

dlv exec ./debug.bin -test.v

Directories

Path Synopsis
reflect_type_info
sub

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL