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

Show a nicer message when learntris implementation times out. #28

Open
tangentstorm opened this issue May 28, 2014 · 0 comments
Open

Show a nicer message when learntris implementation times out. #28

tangentstorm opened this issue May 28, 2014 · 0 comments
Assignees
Labels
tanco related to new test runner

Comments

@tangentstorm
Copy link
Contributor

Given the following learntris:

#!/usr/bin/env python
while True: pass

...testris produces the following output:

Running test 1: io.q
q : quit
---- sending commands ----
q
---- awaiting results ----
Test 1 failed: <program timed out>

It's probably for the best that the normal explanatory text for the test is missing, since the student should be working on handling 'q' correctly, or removing an accidental infinite loop.

However, there should be some explanation about exactly what timeouts are (i.e. that their implementation took too long to respond and could be locked up.) and probably a reminder about the q command.

(See discussion and notes from @mattpul in #25)

@tangentstorm tangentstorm self-assigned this Jan 30, 2024
@tangentstorm tangentstorm added the tanco related to new test runner label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tanco related to new test runner
Projects
None yet
Development

No branches or pull requests

1 participant