This repository has been archived on 2023-04-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
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