(args []string)
| 63 | } |
| 64 | |
| 65 | func (c *testCmd) RunCommand(args []string) error { |
| 66 | if c.precommit { |
| 67 | if err := c.runPrecommitHook(); err != nil { |
| 68 | return err |
| 69 | } |
| 70 | } |
| 71 | if err := c.buildSelf(); err != nil { |
| 72 | return err |
| 73 | } |
| 74 | if err := c.runTests(args); err != nil { |
| 75 | return err |
| 76 | } |
| 77 | println("PASS") |
| 78 | return nil |
| 79 | } |
| 80 | |
| 81 | func (c *testCmd) env() *Env { |
| 82 | env := NewCopyEnv() |
nothing calls this directly
no test coverage detected