XCode: Enable unit tests build

This commit is contained in:
Celtic Minstrel 2016-03-31 16:05:15 -04:00
parent c01e5e8a39
commit ec43700ff5
3 changed files with 1339 additions and 775 deletions

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,10 @@
#define BOOST_TEST_MODULE wesnoth unit tests master suite
#ifndef BOOST_TEST_DYN_LINK
#error Compiler misconfiguration - must define BOOST_TEST_DYN_LINK
#endif
#include <boost/version.hpp>
#include <boost/test/unit_test.hpp>

View file

@ -111,7 +111,7 @@ BOOST_AUTO_TEST_CASE( test_send_client )
}
void try_send_random_seed ( const std::string seed_str, const unsigned int random_calls)
static void try_send_random_seed ( const std::string seed_str, const unsigned int random_calls)
{
config cfg_send;
config& child = cfg_send.add_child("command");