add os subtest (#19304)
* add os subtest * fix/test.cpp include header file Co-authored-by: facetosea <25808407@qq.com>
This commit is contained in:
parent
6b5cd86d79
commit
25f24af05d
|
@ -60,3 +60,7 @@ endif()
|
|||
IF (JEMALLOC_ENABLED)
|
||||
target_link_libraries(os PUBLIC -ljemalloc)
|
||||
ENDIF ()
|
||||
|
||||
if(${BUILD_TEST})
|
||||
add_subdirectory(test)
|
||||
endif(${BUILD_TEST})
|
|
@ -27,6 +27,7 @@
|
|||
#pragma GCC diagnostic ignored "-Wpointer-arith"
|
||||
|
||||
#include "os.h"
|
||||
#include "tlog.h"
|
||||
|
||||
TEST(osTest, osSystem) {
|
||||
const char *flags = "UTL FATAL ";
|
||||
|
|
Loading…
Reference in New Issue