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

16 lines
239 B
Bash
Executable File

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