Skip to content

Commit

Permalink
TestMergeHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jun 21, 2024
1 parent 9444c6c commit bfe3682
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gengo/bind/sdkMerge/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ func MacrosInHeader() (m *maps.SafeMap[string, bool]) {
}

m2 := new(maps.SafeMap[string, bool])
for _, s := range stream.NewBuffer("combined_headers.h").ToLines() {
//for _, s := range stream.NewBuffer("combined_headers.h").ToLines() {
for _, s := range stream.NewBuffer("merged_headers.h.h").ToLines() {
if strings.HasPrefix(s, "#define ") {
m2.Set(s, true)
}
Expand Down Expand Up @@ -132,7 +133,7 @@ func TestBindMacros(t *testing.T) {
})
}

func TestBind(t *testing.T) {
func TestBindSdk(t *testing.T) {
mylog.SetDebug(false)
mylog.Call(func() {
pkg := gengo.NewPackage("HPRDBGCTRL",
Expand Down

0 comments on commit bfe3682

Please sign in to comment.