xlnt/third-party/cxxtest/doc/examples/buildRunner12.sh

17 lines
235 B
Bash
Executable File

#!/bin/bash
. GetGlobals.sh
export PATH=$CXXTEST/bin:$PATH
# @main:
cxxtestgen -f --error-printer -o runner.cpp MyTestSuite4.h
# @:main
# @compile:
g++ -o runner -I$CXXTEST runner.cpp
# @:compile
./runner
\rm -f runner runner.cpp