From d9b02705285f6953343e393877adffd3c12b6aa0 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 1 Mar 2018 17:14:00 +0100 Subject: [PATCH] Added log test binary --- CMakeLists.txt | 3 +++ test/log.cpp | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 test/log.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 714165b4..9854cea5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -691,6 +691,9 @@ add_test(AESTest COMMAND aes_ctr128) add_executable(urltest test/url.cpp ${BINARY_DIR}/mist/.headers) target_link_libraries(urltest mist) add_test(URLTest COMMAND urltest) +add_executable(logtest test/log.cpp ${BINARY_DIR}/mist/.headers) +target_link_libraries(logtest mist) +add_test(LOGTest COMMAND urltest) add_executable(downloadertest test/downloader.cpp ${BINARY_DIR}/mist/.headers) target_link_libraries(downloadertest mist) add_test(DownloaderTest COMMAND downloadertest) diff --git a/test/log.cpp b/test/log.cpp new file mode 100644 index 00000000..6415a0ba --- /dev/null +++ b/test/log.cpp @@ -0,0 +1,9 @@ +#include +#include +#include + +int main(int argc, char ** argv){ + Util::logParser(0, 1, isatty(1)); + return 0; +} +