This repository has been archived on 2023-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
defend-together/server/run_tests.sh

9 lines
129 B
Bash
Executable File

#!/bin/sh
mkdir -p builds
g++ tests.cpp -o builds/tests.out -lgtest
if [ $? = 0 ]
then
./builds/tests.out
else
exit -1
fi