-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Lexer tests #15867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lexer tests #15867
Conversation
I blame @chrismorgan for the hyphens.
This is almost good to go, just having some problems with the makefile. It says:
Which confuses me because it prints the message from line 41. I've tried everything I can, and |
|
||
check-lexer: $(BG) $(BG)RustLexer.class $(BG)verify | ||
$(info Verifying libsyntax against the reference lexer ...) | ||
$(Q)$(foreach file,$(call rwildcard,$(S),*.rs),$(eval $(call LEXER_TEST,$(file)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like it could expand to a lot of files! Does it take make
a noticeable amount of time to include this file? An alternative would perhaps be to just pass the root directory into the tool itself and the tool manually walks all the directories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may also be the source of the makefile weirdness you were seeing, although I'm not quite sure.
Looks good to me! Just curious about when/where these are going to be running and I think this is good to go with some squashing. |
@alexcrichton squashed a bit and doesn't run tests by default. r+? |
fix: failed to infer OUT_DIR when workspace root contains symlink fix rust-lang#15867
No description provided.