Skip to content

Checks your program against reference data from Progtest (@ CVUT FIT)

License

Notifications You must be signed in to change notification settings

OndrejSodek/cvut-progtest-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

cvut-progtest-script

Checks your program against reference data from Progtest (@ CVUT FIT)

Description

Automatically looks for test data, extracts those from an archive if needed.
Automatically compiles your program if needed.

If program output differs from the reference, will print a few lines of differences.

Should only write data to disk when compiling or extracting data from archive.
Shouldn't ovewrite anything other than compiled binary file.

Usage

progtest.sh path/to/source-file.c [path/to/test/data/]

Examples

../progtest.sh progtest1.c sample.tgz
../progtest.sh progtest1.c sample/
../progtest.sh progtest1

These 3 examples do the same thing

(You may want to put progtest.sh somewhere in your $PATH)

Dependencies

  • required
    • bash
    • g++/gcc
  • optional
    • tar

License

This project is licensed under the terms of the MIT license.

About

Checks your program against reference data from Progtest (@ CVUT FIT)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages