Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1147 from markdryan/fix-1145
Browse files Browse the repository at this point in the history
test-cases: Treat SKIPped tests as ok
  • Loading branch information
rbradford authored Feb 14, 2017
2 parents 16c02e1 + cce530c commit 42ec630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-cases/test-cases.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ func generateTAPOutput(tests []*PackageTests) {
pkgName := p.Name[len(prefix):]
fmt.Printf("# Tests for %s\n", pkgName)
for _, t := range p.Tests {
if t.Result == "PASS" {
if t.Result == "PASS" || t.Result == "SKIP" {
fmt.Printf("ok ")
} else {
fmt.Printf("not ok ")
Expand Down

0 comments on commit 42ec630

Please sign in to comment.