mirror of https://github.com/rollbear/trompeloeil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
780 B
Bash
34 lines
780 B
Bash
#!/bin/sh
|
|
|
|
#
|
|
# Trompeloeil C++ mocking framework
|
|
#
|
|
# Copyright Björn Fahller
|
|
#
|
|
# Use, modification and distribution is subject to the
|
|
# Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
# Project home: https://github.com/rollbear/trompeloeil
|
|
#
|
|
|
|
echo "CXX=$CXX"
|
|
echo "CXXFLAGS=$CXXFLAGS"
|
|
echo "CPPFLAGS=$CPPFLAGS"
|
|
|
|
# Default CXXFLAGS to -std=c++14 if not set in the environment
|
|
# for backward compatibility.
|
|
#CXXFLAGS=${CXXFLAGS:-"-std=c++14"}
|
|
|
|
#echo "CXXFLAGS is now $CXXFLAGS"
|
|
|
|
failfile=`mktemp`
|
|
#${CXX} --version
|
|
cd compilation_errors
|
|
files=`ls *.cpp`
|
|
parallel ../verify_compilation_error.sh ::: $files | tee $failfile
|
|
FAILURES=`cat $failfile | grep FAIL | wc -l`
|
|
rm $failfile
|
|
exit $FAILURES
|