Skip to content
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

tests: in negative.fz use $(FILE) instead of $(NAME) #4322

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fridis
Copy link
Member

@fridis fridis commented Nov 27, 2024

This makes it clear which source file is loaded and avoides searching for source files.

In particular, this also permits executable code in the universe of that source file, otherwise, it would be ambiguous when to execute that code.

This revealed an error in reg_issue4273 where the negative tests were ignored due to a typo in the comments resulting in the lines that must fail not being found by grep.

This makes it clear with source file is loaded and avoides searching for source files.

In particular, this also permits executable code in the universe of that source
file, otherwise, it would be ambiguous when to execute that code.

This revealed an error in `reg_issue4273` where the negative tests were ignored
due to a type in the comments resulting in the lines that must fail not being
found by `grep`.
@maxteufel maxteufel added build infrastructure related to the build infrastructure, Makefile, etc. tests related to tests labels Nov 28, 2024
@fridis fridis marked this pull request as draft November 28, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build infrastructure related to the build infrastructure, Makefile, etc. tests related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants