flatten 20260225
This commit is contained in:
1
tests/Core_Misc
Symbolic link
1
tests/Core_Misc
Symbolic link
@@ -0,0 +1 @@
|
||||
..
|
||||
2
tests/Makefile
Normal file
2
tests/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
ROOTDIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))../..)
|
||||
include $(ROOTDIR)/Core_Make/tjp/Make/Makefile
|
||||
45
tests/Makefile.project
Executable file
45
tests/Makefile.project
Executable file
@@ -0,0 +1,45 @@
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
# use: ls -d core/*/ core/*/*/ | rev | cut -c 2- | rev | sed 's/$/ \\/'
|
||||
|
||||
BASE_PROJECT=Core_Misc
|
||||
|
||||
PROJECTS := \
|
||||
. \
|
||||
$(BASE_PROJECT)/tjp/core/http/hirose/_test \
|
||||
$(BASE_PROJECT)/tjp/core/http/beast/_test \
|
||||
$(BASE_PROJECT)/tjp/core/bases/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/containers/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/compression/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/csv/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/delegate/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/extensible/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/pipe/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/resource_version/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/thread_pool/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/url/_tests \
|
||||
$(BASE_PROJECT)/tjp/core/zip/_tests \
|
||||
|
||||
INCPATH := \
|
||||
$(timprepscius.libraries.cpp.include) \
|
||||
$(timprepscius.core.include)
|
||||
|
||||
LDPATH := $(timprepscius.libraries.cpp.link)
|
||||
|
||||
LIBS := \
|
||||
-lCore_Future \
|
||||
-lCore_Misc \
|
||||
-lCore_Zero \
|
||||
-lz_ \
|
||||
-lzstd
|
||||
|
||||
EXEFILE := Core_Misc_Tests.exe
|
||||
|
||||
#COPYTO := $(ROOTDIR)/.bin
|
||||
|
||||
ifeq (Darwin,$(SYS_NAME))
|
||||
LIBS += -lc++
|
||||
endif
|
||||
|
||||
|
||||
include $(MAKEDIR)/Makefile.bin
|
||||
19
tests/main.cpp
Normal file
19
tests/main.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
#include <tjp/core/testing/catch.hpp>
|
||||
|
||||
#include <tjp/core/log/Log.h>
|
||||
|
||||
using namespace tjp;
|
||||
using namespace core;
|
||||
|
||||
int main( int argc, char* argv[] )
|
||||
{
|
||||
xLogInitialize("Core_Misc_Tests.txt");
|
||||
xLogActivateStory("testing");
|
||||
xLogActivateStory("debug");
|
||||
|
||||
int result = Catch::Session().run( argc, argv );
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user