Skip to content

delta-cs/domjudge-testcase-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

domjudge-testcase-tools

The tool provides:

  • enforcing correct file encodings (UTF-8 LF)
  • generation / verification of correctness of testcases
  • creating zip files for simple upload of problem to DOMjudge

usage

usage: testcase-tools.py [-h] [-V] [-r] [-f] [-g CMD] [-v CMD] [-z] [-n NAME] [-tl TIMELIMIT] [-pdf PROBLEM_PDF] PATH

positional arguments:
  PATH                  Path to a file or directory

options:
  -h, --help            show this help message and exit
  -V, --verbose         enable verbose output
  -r, --recursive       process directories recursively
  -f, --fix-encoding    fix encoding of file(s) to UTF-8 LF
  -g CMD, --generate-answers CMD
                        run CMD on every in.txt and generate out.txt
  -v CMD, --verify-answers CMD
                        run CMD for in.txt and verify correctness of out.txt
  -z, --make-zip        create mass upload zip from directory
  -n NAME, --name NAME  specify problem name
  -tl TIMELIMIT, --timelimit TIMELIMIT
                        specify problem timelimit
  -pdf PROBLEM_PDF, --problem-pdf PROBLEM_PDF
                        specify problem timelimit

About

Helper tools for managing DOMjudge constests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published