Skip to content

Commit

Permalink
chore:mv todo
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Nov 28, 2024
1 parent 6fad4e2 commit d72797f
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/gogensig/convert/convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func TestFromTestdata(t *testing.T) {

// test sys type in stdinclude to package
func TestSysToPkg(t *testing.T) {
t.Skip("TODO")
name := "_systopkg"
dir, err := os.Getwd()
if err != nil {
Expand Down Expand Up @@ -94,6 +95,7 @@ func TestSysToPkg(t *testing.T) {
}

func TestDepPkg(t *testing.T) {
t.Skip("TODO")
name := "_depcjson"
dir, err := os.Getwd()
if err != nil {
Expand Down Expand Up @@ -178,8 +180,9 @@ func testFrom(t *testing.T, name, dir string, gen bool, validateFunc func(t *tes
os.Chdir(outputDir)

config.RunCommand(outputDir, "go", "mod", "init", name)
config.RunCommand(outputDir, "go", "get", "github.com/goplus/llgo")
config.RunCommand(outputDir, "go", "mod", "edit", "-replace", "github.com/goplus/llgo="+projectRoot)
config.RunCommand(outputDir, "go", "get", "github.com/goplus/llgo@main")
config.RunCommand(outputDir, "go", "get", "github.com/goplus/llcppg")
config.RunCommand(outputDir, "go", "mod", "edit", "-replace", "github.com/goplus/llcppg="+projectRoot)

p, pkg, err := basic.ConvertProcesser(&basic.Config{
AstConvertConfig: convert.AstConvertConfig{
Expand Down Expand Up @@ -380,5 +383,3 @@ type NormalType c.Int
t.Errorf("does not match expected.\nExpected:\n%s\nGot:\n%s", expectedOutput, buf.String())
}
}

// = env.ExpandEnv(conf.CFlags)

0 comments on commit d72797f

Please sign in to comment.