raco test: fix --place mode (non-)rackunit counting

When a test run by `--place` mode doesn't increment any rackunit
counts, treat the count as 0 instead of 1 for consistency with
`--direct` and `--process` modes.

Closes #1358
This commit is contained in:
Matthew Flatt 2021-04-27 20:26:39 -06:00
parent 8cea33baa1
commit 547678f7de

View File

@ -112,7 +112,7 @@
;; If the test did not use `rackunit`, claim
;; success:
(if (zero? (cdr test-results))
(cons 0 1)
(cons 0 0)
test-results))))
;; Run each test in its own place or process, and collect both test