Skip to content

Instantly share code, notes, and snippets.

View raxelo's full-sized avatar
🐙

Lucas Goyeche raxelo

🐙
View GitHub Profile
@raxelo
raxelo / tester.sh
Last active March 1, 2023 17:26
Bash script para realizar y comprobar los tests de las tareas de laboratorio. Prog 2, Fing
#!/bin/bash
TEST_DIR="./test"
RUNNABLE="./principal"
if [ "$1" == "--valgrind" ]
then
RUNNABLE="timeout --preserve-status 4 valgrind --error-exitcode=52 -q --leak-check=full $RUNNABLE"
fi