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

16 lines
231 B
Bash
Raw Normal View History

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