Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-neal committed Jan 23, 2024
1 parent 4217bde commit 94058c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions reports/sdks.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,27 @@ func GetAllReports() ([]Report, error) {
return nil, fmt.Errorf("error parsing artifact from %s: %v", sdk.Repo, err)
}


// DEBUG
fmt.Println("~~~SUITES:~~~")
for _, suite := range suites {
fmt.Println(suite.Name)
fmt.Println(suite.Totals.Passed)
}


report, err := sdk.buildReport(suites)
if err != nil {
return nil, fmt.Errorf("error processing data from %s: %v", sdk.Repo, err)
}

// DEBUG
fmt.Println("~~~REPORT:~~~")
for _, r := range report {
fmt.Println(suite.Name)
fmt.Println(suite.Totals.Passed)
}

reports = append(reports, report)
}

Expand Down
2 changes: 1 addition & 1 deletion reports/vectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var knownVectors = readKnownVectors()

func readKnownVectors() map[string]map[string]bool {
knownVectors := make(map[string]map[string]bool)
dir := "../web5-test-vectors"
dir := "../test-vectors"
err := filepath.Walk(dir, func(path string, info fs.FileInfo, err error) error {
if !strings.HasSuffix(path, ".json") || strings.HasSuffix(path, ".schema.json") {
return nil
Expand Down

0 comments on commit 94058c1

Please sign in to comment.