# # # patch "Makefile.am" # from [d2804af467da71062c2e3873d8eb87ce4c01f430] # to [2175237275af02c1314fecd0fcb42888387bd127] # # patch "gsync.cc" # from [7e1e1bf22d61c0c1216f3937fda3d77d49ca3521] # to [8c41e5fb9705fcef796832316271582acd76c2df] # ============================================================ --- Makefile.am d2804af467da71062c2e3873d8eb87ce4c01f430 +++ Makefile.am 2175237275af02c1314fecd0fcb42888387bd127 @@ -312,12 +312,12 @@ UNIT_TEST_SOURCES = \ packet.cc paths.cc refiner.cc restrictions.cc rev_height.cc \ revision.cc roster.cc roster_merge.cc simplestring_xform.cc \ string_queue.cc transforms.cc unit_tests.cc uri.cc vocab.cc \ - xdelta.cc json_io.cc + xdelta.cc json_io.cc gsync.cc # these files do not contain unit tests, but are required for unit testing # and must be recompiled for that purpose UNIT_TEST_SRC_SUPPORT = \ - roster_delta.cc + roster_delta.cc json_msgs.cc http_client.cc net_common.cc # these files do not contain unit tests; they are required for unit # testing, but can be used "as is" from the main build. (many of ============================================================ --- gsync.cc 7e1e1bf22d61c0c1216f3937fda3d77d49ca3521 +++ gsync.cc 8c41e5fb9705fcef796832316271582acd76c2df @@ -300,7 +300,15 @@ run_gsync_protocol(options & opts, lua_h request_missing_playback(db, h, core_frontier); } +#ifdef BUILD_UNIT_TESTS +#include "unit_tests.hh" +UNIT_TEST(gsync, gsync) +{ +} + +#endif + // Local Variables: // mode: C++ // fill-column: 76