diff options
Diffstat (limited to 'c/test.cpp')
-rw-r--r-- | c/test.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,3 +1,4 @@ +#include <thread> #include <windows.h> #include "data.h" @@ -224,12 +225,8 @@ TESTS TEST(Fetch) { - extern FileView<ElvDataA> g_fvElv; - extern FileView<DlvDataA> g_fvDlv; - void FetchData(FileView<ElvDataA>& fvElv, FileView<DlvDataA>& fvDlv); - //FileView<ElvDataA> fvElv{L"testelv.dat", 1080}; - //FileView<DlvDataA> fvDlv{L"testdlv.dat", 1080}; - FetchData(g_fvElv, g_fvDlv); + bool bDone = false; + std::thread{FetchData, &bDone}.detach(); } }; @@ -245,7 +242,7 @@ int RunTests() //MigrateCfg{} //MigrateDlvDataFromPrologToDisk{}, //DownloadDataViaProlog{}, - Fetch{}, + //Fetch{}, }; printf("Results (%llu tests):\n", sizeof(tests)/sizeof(*tests)); |