fixed addressor fiasco

simplified singleton visibility
Jamfile
added boost/system to requirements
corrected inclusion tests to include link to serialization library
This commit is contained in:
Robert Ramey
2017-11-09 12:54:10 -08:00
parent b87dc62e69
commit 8bbcca5341
5 changed files with 34 additions and 19 deletions

View File

@@ -9,6 +9,7 @@
project libs/serialization/test
: id serialization_test
: requirements <source>/boost/filesystem
: requirements <source>/boost/system
;
# import rules for testing conditional on config file variables
@@ -133,8 +134,8 @@ test-suite "serialization" :
if ! $(BOOST_ARCHIVE_LIST) {
test-suite "serialization2" :
[ test-bsl-run-no-lib test_inclusion ]
[ test-bsl-run-no-lib test_inclusion2 ]
[ test-bsl-run test_inclusion ]
[ test-bsl-run test_inclusion2 ]
[ test-bsl-run test_dll_exported : : dll_polymorphic_derived2_lib ]
[ test-bsl-run test_dll_simple : : dll_a_lib ]
[ compile test_dll_plugin.cpp ]

View File

@@ -85,9 +85,9 @@ void save_exported(const char *testfile)
oa << BOOST_SERIALIZATION_NVP(rb2);
oa << BOOST_SERIALIZATION_NVP(rd21);
delete rb1;
delete rb2;
delete rd21;
delete rb2;
delete rb1;
}
// save exported polymorphic class
@@ -129,9 +129,9 @@ void load_exported(const char *testfile)
::type::get_const_instance().get_derived_extended_type_info(*rd21),
"restored pointer d2 not of correct type"
);
delete rb1;
delete rb2;
delete rd21;
delete rb2;
delete rb1;
}
int