France-ioi / taskgrader

This simple tool manages every step of grading a contest task, from the generation of test data to the grading of a solution output
MIT License
13 stars 3 forks source link

multiple lines for conditions in C language #87

Closed remisharrock closed 3 years ago

remisharrock commented 3 years ago

So whenever there are multiple lines with conditions taskgrader do an infinite loop and they says there is no test :

For example if((tomorrow.month == 1 || tomorrow.month == 3 || tomorrow.month == 5 || tomorrow.month == 7 || tomorrow.month == 10) && tomorrow.day == 31) {

does not work but

if((tomorrow.month == 1 || tomorrow.month == 3 || tomorrow.month == 5 || tomorrow.month == 7 || tomorrow.month == 10) && tomorrow.day == 31) {

works

more details here https://github.com/remisharrock/c-programming-with-linux-MOOC-issues-tracker/issues/653

mblockelet commented 3 years ago

Answered on the linked bugreport ; error from the task checked and not taskgrader.