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

Commit

Permalink
integration test: allow to skip syntax error tests
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Smirnov <[email protected]>
  • Loading branch information
Denys Smirnov authored and juanjux committed Nov 6, 2018
1 parent c40738c commit d932d33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ func (d *Driver) testIntegration(bblfshdVers, image string) error {
tests = append(tests, name)
}
if len(tests) == 0 {
return fmt.Errorf("expected at least one test called './%s/%s.xxx'", fixturesDir, syntaxErrTestName)
fmt.Fprintf(os.Stderr, "WARNING: expected at least one test called './%s/%s.xxx'\n", fixturesDir, syntaxErrTestName)
return nil
}

for _, name := range tests {
Expand Down

0 comments on commit d932d33

Please sign in to comment.