Skip to content

Commit

Permalink
Call clean and autograder-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
cuprumbot committed Feb 6, 2025
1 parent fd4cb05 commit 5dfc2b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions check
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ cp grading/*.c .
title
python3 grading/check.py
}

7 changes: 5 additions & 2 deletions grading/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@ def lab2_c_gdb():
print(report)
if errors != '':
report += '\n\nMore Info:\n\n' + errors

task = utils.make(target='clean')
task = utils.make(target='autograder-clean')
return utils.write_result(grade, report)
else:
utils.write_result(0, 'missing files: %s' % (','.join(not_found)))

task = utils.make(target='autograder-clean')
task = utils.make(target='clean')
task = utils.make(target='autograder-clean')

if __name__ == '__main__':
resource.setrlimit(resource.RLIMIT_AS, (BYTES, BYTES))
Expand Down

0 comments on commit 5dfc2b4

Please sign in to comment.