Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaau committed Jan 4, 2025
1 parent 741186c commit c62dc9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
Binary file added gnovm/cmd/gno/gno
Binary file not shown.
28 changes: 0 additions & 28 deletions gnovm/cmd/gno/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ func runTestFiles(

// TODO: replace with amino or send native type?
var rep report
//! 여기서 return된 문자를 언마셜링
err = json.Unmarshal([]byte(ret), &rep)
if err != nil {
errs = multierr.Append(errs, err)
Expand Down Expand Up @@ -560,12 +559,10 @@ func runTestFiles(

}

// TODO 여기까진 분기 크게 없는듯
func runFuzzFiles(
m *gno.Machine,
files *gno.FileSet,
pkgName string,
//* verbose는 받기. 이후 바탕으로 추가 로깅
verbose bool,
fuzzName string,
fuzzIters uint,
Expand Down Expand Up @@ -722,31 +719,6 @@ func runfuzz(name string) (report string) {
}
`))

//? 전략 2시 사용
// var fuzzmainTmpl = template.Must(template.New("fuzzmain").Parse(`
// package {{ .PackageName }}

// import (
// "testing"
// )

// var tests = []testing.InternalFuzz{
// {{range .Tests}}
// {"{{.Name}}", {{.Name}}},
// {{end}}
// }

// func runfuzz(name string) (report string) {
// for _, test := range tests {
// if test.Name == name {
// return testing.RunTest({{printf "%q" .FuzzName}}, {{printf "%u" .fuzzIters}}, test)
// }
// }
// panic("no such fuzz test: " + name)
// return ""
// }
// `))

type testFuncs struct {
Tests []testFunc
PackageName string
Expand Down

0 comments on commit c62dc9d

Please sign in to comment.