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

Disallow timeouts in tests #535

Merged
merged 2 commits into from
May 19, 2023
Merged

Conversation

xxdavid
Copy link
Collaborator

@xxdavid xxdavid commented May 3, 2023

If a should_fail test timed out, it was considered as a success, even though it proably shouldn't as it usually means there's a bug in the typechecker. I've changed it.

Unfortunately, it turned out that there are probably still some infinite loops that are not handled, as after this change two test cases that used recursive types started failing. I've moved them to known problems.

If a `should_fail` test timed out, it was considered
as a success, even though it proably shouldn't as it
usually means there's a bug in the typechecker.
…oblems

Type-checking of the functions recursive_param1
and recursive_param3 was timing out. There is
probably still some infinite loop that is not
handled.
@erszcz
Copy link
Collaborator

erszcz commented May 19, 2023

Well spotted, thanks @xxdavid!

@erszcz erszcz merged commit a408fd4 into josefs:master May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants