X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..e8a8a4eff62f09fde8d73dae597bfbd09f3c9786:/src/mc/PageStore.cpp diff --git a/src/mc/PageStore.cpp b/src/mc/PageStore.cpp index 403ef31c42..f5d769769a 100644 --- a/src/mc/PageStore.cpp +++ b/src/mc/PageStore.cpp @@ -171,7 +171,7 @@ std::size_t PageStore::store_page(void* page) #include -#include "mc/PageStore.hpp" +#include "src/mc/PageStore.hpp" static int value = 0; @@ -185,8 +185,6 @@ static void* getpage() return mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); } -extern "C" { - XBT_TEST_SUITE("mc_page_store", "Page store"); XBT_TEST_UNIT("base", test_mc_page_store, "Test adding/removing pages in the store") @@ -235,8 +233,6 @@ XBT_TEST_UNIT("base", test_mc_page_store, "Test adding/removing pages in the sto xbt_test_assert(store->size()==2, "Bad size"); } -} - #endif /* SIMGRID_TEST */ }