aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-04-09 19:27:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-31 13:35:25 +0200
commit142ce68175f5321ccde23eafda4830707f20e67b (patch)
tree9c90af141c4a6a068b9a843438313f32cbc3b53f /pkg
parentc054a92ddef28b343db8a733b3e191cf96c28768 (diff)
pkg/runtest: add simple USB runtest
Diffstat (limited to 'pkg')
-rw-r--r--pkg/runtest/run.go3
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