Added log test binary
This commit is contained in:
parent
dfb1f0ecf0
commit
d9b0270528
2 changed files with 12 additions and 0 deletions
|
@ -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)
|
||||
|
|
9
test/log.cpp
Normal file
9
test/log.cpp
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <mist/util.h>
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char ** argv){
|
||||
Util::logParser(0, 1, isatty(1));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue