diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-12-20 16:50:08 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-12-20 16:51:39 +0100 |
| commit | 9ab9963386ed321bf845997674ebd2c997fb3b1f (patch) | |
| tree | 9093fffcc6f8b399db94a7065b5aa0904ce59bb5 /src | |
| parent | Merge #11960: [Doc] Fix link to installation script (diff) | |
| parent | univalue: Bump subtree (diff) | |
| download | discoin-9ab9963386ed321bf845997674ebd2c997fb3b1f.tar.xz discoin-9ab9963386ed321bf845997674ebd2c997fb3b1f.zip | |
Merge #11952: [qa] univalue: Bump subtree
88411e9 Squashed 'src/univalue/' changes from fe805ea74f..07947ff2da (MarcoFalke)
Pull request description:
Pulls in the test changes to the univalue subtree.
Beside looking at the code, reviewers should refer to https://github.com/bitcoin/bitcoin/blob/master/contrib/devtools/README.md#git-subtree-checksh on how to verify the subtree pull.
Tree-SHA512: 09493625a573dca1140570326ee90c1bb84e4893e1dab2cdd51bc23ae1fba1e33c43ed771ca9e112ac71b0242e8a8d058071334562c738d502587eadd5a0f114
Diffstat (limited to 'src')
| -rw-r--r-- | src/univalue/.travis.yml | 1 | ||||
| -rw-r--r-- | src/univalue/test/object.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/univalue/.travis.yml b/src/univalue/.travis.yml index 132743d34..43a1ed362 100644 --- a/src/univalue/.travis.yml +++ b/src/univalue/.travis.yml @@ -25,7 +25,6 @@ addons: - pkg-config before_script: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi - test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index 02446292a..679cc9f14 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -19,9 +19,10 @@ #define BOOST_CHECK_THROW(stmt, excMatch) { \ try { \ (stmt); \ + assert(0 && "No exception caught"); \ } catch (excMatch & e) { \ } catch (...) { \ - assert(0); \ + assert(0 && "Wrong exception caught"); \ } \ } #define BOOST_CHECK_NO_THROW(stmt) { \ |