std::ifstream patternFile(patternFilePath, std::ifstream::in | std::ifstream::binary);
std::ifstream resultFile(resultFilePath, std::ifstream::in | std::ifstream::binary);
- RUNNER_ASSERT_MSG(patternFile.is_open(), "Failed to open " << patternFile << ".");
- RUNNER_ASSERT_MSG(resultFile.is_open(), "Failed to open " << resultFile << ".");
+ RUNNER_ASSERT_MSG(patternFile.is_open(), "Failed to open " << patternFilePath << ".");
+ RUNNER_ASSERT_MSG(resultFile.is_open(), "Failed to open " << resultFilePath << ".");
auto patternRecords = std::multiset<std::string>(std::istream_iterator<std::string>(patternFile),
std::istream_iterator<std::string>());
glib-2.0
)
+FIND_PACKAGE (Threads)
+
#files to compile
SET(INNER_TARGET_TEST_SOURCES
${PROJECT_SOURCE_DIR}/tests/inner-test.cpp
${INNER_TARGET_DEP_LIBRARIES}
tests-common
dpl-test-framework
+ ${CMAKE_THREAD_LIBS_INIT}
)
#place for output file
WORLD_EXECUTE
)
-ADD_SUBDIRECTORY(cleanup)
\ No newline at end of file
+ADD_SUBDIRECTORY(cleanup)
+