Skip to content

FTEdianiaK/gorpretest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gorpretest

๐Ÿฅœ A nutty taste test of running software.


How to run

PYTHON WINDOWS LINUX

You'll need python, then it's just the matter of correctly running the program.

For all the required arguments, look no further than the program's help page:

gorpretest <COMPILED C> <TEST DIRECTORY> <NUMBER START> <NUMBER END> [INSTRUCT SUFFIX] [ASSUME SUFFIX]

<>/* = required arguments

COMPILED C*
    or any other executable program

TEST DIRECTORY*
    a directory to pull the inputs and expected outputs from

NUMBER START*
    the number the tests should start at

NUMBER END*
    the number the tests should end at

INSTRUCT SUFFIX
    you can enter your own or it defaults to
    "_in.txt" (no matter the platform)

ASSUME SUFFIX
    you can enter your own or it defaults to
    "_out_win.txt" on Windows
    "_out.txt" on Linux

# FILE NAME FORMAT
  <TEST DIRECTORY>/<NUMBER ZERO-PADDDED TO FOUR><CHOSEN SUFFIX>
  e.g. gorpretest.py a.exe sample 1 11
       sample/0001_in.txt -- sample/0011_out_win.txt

Credits

About

๐Ÿฅœ A nutty taste test of running software.

Resources

License

Stars

Watchers

Forks

Languages