Exemplo n.º 1
0
# Allow relative import of pygrader. Not needed if pygrader package is installed on python search path
import os
import sys
sys.path.insert(0,
                os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name': 'copy',
        'copy_files': [
            'OfficialMake',
            'GreatExpectations.txt',
        ]
    }),
    Task({
        'name': 'rename',
        'rename_folders': True
    }),
    Task({
        'name': 'make',
        'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial',
        'makefile': 'OfficialMake'
    }),
Exemplo n.º 2
0
#!/usr/bin/env python3

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

#Warning - code assumes projects are named COURSE-TERM-ASSIGNMENTNAME
repo_path = 'cs260-202020-a03'

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name': 'copy', 'copy_files': ['OfficialMake', 
                                        'stackTester.cpp', 
                                        'pqTester.cpp', 
                                        'Document.html', 
                                        ]
    }),
    Task({
        'name': 'rename', 'rename_folders': True
    }),
    Task({
        'name': 'make', 'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial', 'makefile': 'OfficialMake'
    }),
    Task({
        'name': 'runTests',
        'runs': [
            Run({
Exemplo n.º 3
0
#!/usr/bin/env python3

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

#Warning - code assumes projects are named COURSE-TERM-ASSIGNMENTNAME
repo_path = 'cs260-202020-a01'

tasks = [
    Task({
        'name': 'copy',
        'copy_files': ['OfficialMake', 'people.txt', 'peopleSorted.txt']
    }),
    Task({
        'name': 'rename',
        'rename_folders': True
    }),
    Task({
        'name': 'make',
        'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial',
        'makefile': 'OfficialMake'
    }),
    Task({
        'name':
        'run',
        'runs': [
            Run({
                'input': """5000""",
Exemplo n.º 4
0
# Allow relative import of pygrader. Not needed if pygrader package is installed on python search path
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name': 'copy', 'copy_files': ['OfficialMake', 
                                        'stackTester.cpp', 
                                        'pqTester.cpp', 
                                        'Document.html', 
                                        ]
    }),
    Task({
        'name': 'rename', 'rename_folders': True
    }),
    Task({
        'name': 'make', 'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial', 'makefile': 'OfficialMake'
    }),
    Task({
        'name': 'runTests',
        'runs': [
Exemplo n.º 5
0
sys.path.insert(0,
                os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name':
        'copy',
        'copy_files': [
            'OfficialMake',
            'testerA.cpp',
            'testerB.cpp',
            'testerC.cpp',
            'IPListA.txt',
            'IPListB.txt',
        ]
    }),
    Task({
        'name': 'rename',
        'rename_folders': True
    }),
    Task({
        'name': 'make',
        'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial',
Exemplo n.º 6
0
# Allow relative import of pygrader. Not needed if pygrader package is installed on python search path
import os
import sys
sys.path.insert(0,
                os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name':
        'copy',
        'copy_files':
        ['OfficialMake', '25000AddressesA.txt', '25000AddressesB.txt']
    }),
    Task({
        'name': 'rename',
        'rename_folders': True
    }),
    Task({
        'name': 'make',
        'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial',
        'makefile': 'OfficialMake'
    }),
    Task({
Exemplo n.º 7
0
import pygrader.pygrader as pygrader
from pygrader.pygrader import Task, Run

#Warning - code assumes projects are named COURSE-TERM-ASSIGNMENTNAME
repo_path = 'cs260-202020-a04'

tasks = [

    #Minimal sample broken into subtasks. Generates separate output files for each run.
    Task({
        'name':
        'copy',
        'copy_files': [
            'OfficialMake',
            'testerA.cpp',
            'testerB.cpp',
            'testerC.cpp',
            'IPListA.txt',
            'IPListB.txt',
        ]
    }),
    Task({
        'name': 'rename',
        'rename_folders': True
    }),
    Task({
        'name': 'make',
        'makefile': 'MyMake'
    }),
    Task({
        'name': 'makeOfficial',