clairew/test-wrapper-write-file
Claire Wang 2023-06-30 16:22:08 -04:00
parent eecdf161b8
commit fb2db85b80
1 changed files with 5 additions and 0 deletions

View File

@ -239,6 +239,11 @@ func main() {
failed := false
toRetry := make(map[string][]string) // pkg -> tests to retry
f, err := os.Create("test_attempts.json")
if err != nil {
log.Printf("error creating test attempt json file: %v", err)
}
defer f.Close()
for _, pt := range thisRun.tests {
ch := make(chan *testAttempt)
go runTests(ctx, thisRun.attempt, pt, otherArgs, ch)