Skip to content

tancop/pr1_tester

Repository files navigation

Tester PR1

Works just like FedorViest's tester but faster and supports Windows.

Install

  • Download the latest release for your OS
  • Unpack in your work folder
  • Set the compile and run commands in .env
  • Run the tester from a terminal window (./tester on Linux, .\tester.exe on Windows)

Build

  • Install Rust
  • Build the project:
    • cargo run to build and run
    • cargo build --release for an optimized release build

.env examples

Clang on Linux

TESTER_COMPILE_COMMAND="clang -O1 main.c"
TESTER_RUN_COMMAND="./a.out"
TESTER_INPUT_FILES="data.txt;string.txt;parse.txt"

GCC on Windows

TESTER_COMPILE_COMMAND="gcc -O1 main.c"
TESTER_RUN_COMMAND=".\a.exe"
TESTER_INPUT_FILES="data.txt;string.txt;parse.txt"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published