Closed benknoble closed 2 months ago
@jackfirth looks like the other PR was merged 🎉
It looks like this change broke the following test: http://drdr.racket-lang.org/66750/cs/racket/share/pkgs/rackunit-test/tests/rackunit/check-info-test.rkt
Thanks Sam; Matthew mentioned that to me, also for http://drdr.racket-lang.org/66749/cs/racket/share/pkgs/rackunit-test/tests/rackunit/check-info-test.rkt
I think what probably happened is the recent fixes to parallel modes caused the problem. I'll take a look as soon as I can.
Running "raco test foo/bar/test.rkt" will cause Racket to change directory to "foo/bar" before invoking "test.rkt", and error messages are printed relative to (current-directory) like
For an editor to consume this, it has to post-process the output to correlate "raco test: path" with "location: partial path" (which is difficult when running tests in parallel). This is not ideal; output with
is immediately useable by editors for jumping to the error.
Use the new current-test-invocation-directory to adjust the path better for editors, depending on compiler-lib 1.14. The output now looks like
Depends on https://github.com/racket/racket/pull/4988.