Updates from BitShares FC #22

Closed
nathanielhourt wants to merge 693 commits from dapp-support into latest-fc
Showing only changes of commit b0f4e55aee - Show all commits

View file

@ -5,6 +5,18 @@ if [ "$#" != 1 ]; then
exit 1
fi
CACHE="$( find . -name CMakeCache.txt )"
if [ "$CACHE" != "" ]; then
BOOST_INC="$( grep Boost_INCLUDE_DIR:PATH "$CACHE" | cut -d= -f 2 )"
if [ "$BOOST_INC" != "" ]; then
BOOST_VERSION="$( grep '^#define *BOOST_VERSION ' "$BOOST_INC/boost/version.hpp" | sed 's=^.* ==' )"
fi
fi
if [ "$BOOST_VERSION" = "" -o "$BOOST_VERSION" -lt 105900 ]; then
echo "Boost version '$BOOST_VERSION' - executing tests serially"
"$1"
else
"$1" --list_content 2>&1 \
| grep '\*$' \
| sed 's=\*$==;s=^ =/=' \
@ -15,4 +27,4 @@ fi
esac
done \
| parallel echo Running {}\; "$1" -t {}
fi