From 142ce68175f5321ccde23eafda4830707f20e67b Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 9 Apr 2019 19:27:54 +0200 Subject: pkg/runtest: add simple USB runtest --- pkg/runtest/run.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg') 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 -- cgit mrf-deployment