xlnt/third-party/cxxtest/doc/examples/buildRunner15.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 MyTestSuite6.h
# @:main
# @compile:
g++ -o runner -I$CXXTEST runner.cpp
# @:compile
./runner
\rm -f runner runner.cpp