branch: elpa/racket-mode
commit e5f22ad408740ec517a436ec19b74ce1398e61bc
Author: Greg Hendershott <[email protected]>
Commit: Greg Hendershott <[email protected]>
Don't raco test keywords.txt
For one thing, this is just a "script" to generate some Emacs Lisp.
More specifically, as of Racket 9.1 drracket-tool-text-lib no longer
pulls in typed-racket-lib, which supplies the typed/racket/no-check
lang used in keywords.rkt. Therefore the Minimal Racket build would
fail if we try to raco test keywords.rkt.
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b35d5f561f..7bb6dd24f5 100644
--- a/Makefile
+++ b/Makefile
@@ -87,9 +87,10 @@ test-racket: test-racket-submod test-racket-plain
# Exclude racket/hash-lang.rkt because it fails to eval on older
# Rackets. Normally we only dynamic-require it. Furthermore its tests
# are in ./test/racket/hash-lang-test.rkt.
+no-test-rkts=./racket/hash-lang.rkt ./racket/keywords.rkt
test-racket-submod:
$(RACKET) -l raco test --submodule test --no-run-if-absent \
- $(filter-out ./racket/hash-lang.rkt, $(wildcard ./racket/*.rkt)) \
+ $(filter-out $(no-test-rkts), $(wildcard ./racket/*.rkt)) \
$(wildcard ./racket/commands/*.rkt)
# Plus we do have some files in a special directory that consist of