diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-04-09 19:27:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-31 13:35:25 +0200 |
| commit | 142ce68175f5321ccde23eafda4830707f20e67b (patch) | |
| tree | 9c90af141c4a6a068b9a843438313f32cbc3b53f /pkg | |
| parent | c054a92ddef28b343db8a733b3e191cf96c28768 (diff) | |
pkg/runtest: add simple USB runtest
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/runtest/run.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go index 67f736657..b30d284c6 100644 --- a/pkg/runtest/run.go +++ b/pkg/runtest/run.go @@ -140,6 +140,9 @@ func (ctx *Context) generatePrograms(progs chan *RunRequest) error { if strings.HasSuffix(file.Name(), "~") { continue } + if strings.HasSuffix(file.Name(), ".swp") { + continue + } p, requires, results, err := ctx.parseProg(file.Name()) if err != nil { return err |
