trampgeek / jobe

jobe is a server that runs small programming jobs in a variety of programming languages
MIT License
108 stars 78 forks source link

Update testsubmit.py #59

Closed mcruzel closed 1 year ago

trampgeek commented 1 year ago

Thanks for the suggestion Michelle, but that syntax error is deliberate. It's a test to make sure that if you submit a syntactically incorrect pascal program you get a compile error (outcome = 11) rather than a successful run (outcome = 15), as in the immediately preceding test. The two relevant lines of console output are:

Good Hello world Pascal test OK
Fail Hello world Pascal test OK

With your change in place, the second test fails.

mcruzel commented 1 year ago

Hi, Thank's a lot.

One of our IT people told me that he was having trouble setting up a jobe server because of this line. I pass the information on to him.

Best regards

MC

trampgeek commented 1 year ago

OK. Note that that line relates to Pascal, which isn't a language that gets much use nowadays. If only one line in the test suite fails, and it's a test of a language you won't be using, you can safely ignore the failure.