fstest/test_all: fix directories that tests are run in

- Don't build a binary for backend tests
- Run tests in their relevant directories
This commit is contained in:
Nick Craig-Wood
2018-10-23 17:31:11 +01:00
parent fe61cff079
commit 5c32b32011
4 changed files with 24 additions and 17 deletions

View File

@@ -109,8 +109,10 @@ func main() {
for _, run := range runs {
if _, found := done[run.Path]; !found {
done[run.Path] = struct{}{}
run.MakeTestBinary()
defer run.RemoveTestBinary()
if !run.NoBinary {
run.MakeTestBinary()
defer run.RemoveTestBinary()
}
}
}