Updates from BitShares FC #22

Closed
nathanielhourt wants to merge 693 commits from dapp-support into latest-fc
3 changed files with 7 additions and 7 deletions
Showing only changes of commit bb4fdb124f - Show all commits

View file

@ -57,7 +57,7 @@ jobs:
- name: Test
run: |
parallel echo Running {}\; sh -c "_build/tests/{}" <<_EOT_
all_tests
all_tests -l message
bloom_test -- README.md
ecc_test README.md
hmac_test
@ -116,7 +116,7 @@ jobs:
- name: Test
run: |
parallel echo Running {}\; sh -c "_build/tests/{}" <<_EOT_
all_tests
all_tests -l message
bloom_test -- README.md
ecc_test README.md
hmac_test

View file

@ -29,7 +29,7 @@ script:
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=--coverage -DCMAKE_CXX_FLAGS=--coverage -DBoost_USE_STATIC_LIBS=OFF -DCMAKE_CXX_OUTPUT_EXTENSION_REPLACE=ON .
- 'which build-wrapper-linux-x86-64 && build-wrapper-linux-x86-64 --out-dir bw-output make -j 2 || make -j 2'
- set -o pipefail
- tests/run-parallel-tests.sh tests/all_tests
- tests/run-parallel-tests.sh tests/all_tests -l message
- tests/hmac_test 2>&1 | cat
- tests/ecc_test README.md 2>&1 | cat
- 'find CMakeFiles/fc.dir -type d | while read d; do gcov -o "$d" "${d/CMakeFiles*.dir/./}"/*.cpp; done >/dev/null'

View file

@ -1,7 +1,7 @@
#!/bin/sh
if [ "$#" != 1 ]; then
echo "Usage: $0 <boost-unit-test-executable>" 1>&2
if [ "$#" -lt 1 ]; then
echo "Usage: $0 <boost-unit-test-executable> [arguments]" 1>&2
exit 1
fi
@ -15,7 +15,7 @@ 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 '\*$' \
@ -26,5 +26,5 @@ else
*) pre="$t"; ;;
esac
done \
| parallel echo Running {}\; "$1" -t {}
| parallel echo Running {}\; "$@" -t {}
fi