mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix travis test failure: It seems the boost bug is fixed.
This commit is contained in:
parent
edf17ab2c5
commit
502001cd7c
@ -30,6 +30,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
|
||||||
TEST (GncGUID, creation)
|
TEST (GncGUID, creation)
|
||||||
{
|
{
|
||||||
@ -82,8 +83,10 @@ TEST (GncGUID, from_string)
|
|||||||
}
|
}
|
||||||
/* Currently, boost uuid string parsing is mostly very permissive, but it has some
|
/* Currently, boost uuid string parsing is mostly very permissive, but it has some
|
||||||
* odd pet peves. See https://svn.boost.org/trac/boost/ticket/12253 for more.*/
|
* odd pet peves. See https://svn.boost.org/trac/boost/ticket/12253 for more.*/
|
||||||
//EXPECT_TRUE (fail) << "Parsing the bogus string should throw";
|
if (BOOST_VERSION >= 106600)
|
||||||
EXPECT_FALSE (fail) << "Perhaps boost uuid is fixed.";
|
EXPECT_TRUE (fail) << "Parsing the bogus string should throw";
|
||||||
|
else
|
||||||
|
EXPECT_FALSE (fail) << "Perhaps boost uuid is fixed.";
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST (GncGUID, round_trip)
|
TEST (GncGUID, round_trip)
|
||||||
|
Loading…
Reference in New Issue
Block a user