User Tools

Site Tools


services:submit:submit-setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

services:submit:submit-setup [2017/03/29 14:25] – created jasservices:submit:submit-setup [2017/03/29 15:42] (current) jas
Line 29: Line 29:
 ===== Check Scripts ===== ===== Check Scripts =====
  
-There is support for automatically checking submissions as they are submitted. If an executable file in the assignment subdirectory exists called _check", then this program will be executed after any successful submission for that assignment. The arguments passed to this program will be course, assignment, and user followed by any paths entered on the command-line by the user, stripped of any leading directories. If a student specifies a directory when submitting files then that directory name will be passed to the check program and not the names of the files in the directory. Note that this program will be executed with the privileges of the user executing the submit program, plus access to the submit group. Care should be taken when building systems for automatically checking programs.+The command line submit tool has support for automatically checking submissions as they are submitted. If an executable file in the assignment subdirectory exists called _check", then this program will be executed after any successful submission for that assignment. The arguments passed to this program will be course, assignment, and user followed by any paths entered on the command-line by the user, stripped of any leading directories. If a student specifies a directory when submitting files then that directory name will be passed to the check program and not the names of the files in the directory. Note that this program will be executed with the privileges of the user executing the submit program, plus access to the submit group. Care should be taken when building systems for automatically checking programs.
  
 For example, if you create a file /eecs/course/1021/submit/a1/_check, and it is made executable, and user eecs999 makes a successful submission of ~eecs999/a1/foo.c, then the  For example, if you create a file /eecs/course/1021/submit/a1/_check, and it is made executable, and user eecs999 makes a successful submission of ~eecs999/a1/foo.c, then the 
services/submit/submit-setup.1490811924.txt.gz · Last modified: 2017/03/29 14:25 by jas