Skip to content

xloroff/run_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Route 365 or Codeforces Test tool (Linux, MacOS)

Original script GitHub kirumbik pages with some small update

Usage

Let's pretend you have directory contest where you store contest code. Place run_tests.sh script in root of contest directory. Place tests near you go code:

./b/main.go
./b/tests/
|----01
|----01.a
|----...
|----08
|----08.a
./c/main.go
./c/tests/
|----01
|----01.a
|----...

After that run: ./run_tests.sh ./b/main.go

You will see each test running:

MacOS info

  • install homebrew
  • brew install dos2unix
  • brew install diffutils
  • brew install coreutils
  • add gnubin into your PATH variable PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" or check export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH" in .zshrc

if u have time problem use: export LC_NUMERIC="en_US.UTF-8"

About

Codeforces or Route 365 contest TestTool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages