9 lines
129 B
Bash
Executable File
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 |