TestRuntime

This commit is contained in:
xushiwei
2024-04-29 01:42:00 +08:00
parent 286b520d83
commit 98065e80d0
2 changed files with 5 additions and 2 deletions

View File

@@ -20,7 +20,6 @@ import (
"testing"
"github.com/goplus/llgo/cl/cltest"
"github.com/goplus/llgo/ssa"
)
func TestFromTestcgo(t *testing.T) {
@@ -32,5 +31,6 @@ func TestFromTestdata(t *testing.T) {
}
func TestRuntime(t *testing.T) {
cltest.Pkg(t, ssa.PkgRuntime, "../internal/runtime/llgo_autogen.ll")
cltest.Pkg(t, "github.com/goplus/llgo/internal/runtime", "../internal/runtime/llgo_autogen.ll")
cltest.Pkg(t, "github.com/goplus/llgo/internal/abi", "../internal/abi/llgo_autogen.ll")
}