flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:41:23 -05:00
commit d33ec72fa2
43 changed files with 3296 additions and 0 deletions

1
tests/Makefile Symbolic link
View File

@@ -0,0 +1 @@
../../Make/Makefile

31
tests/Makefile.project Executable file
View File

@@ -0,0 +1,31 @@
include $(MAKEDIR)/Makefile.base
# use: ls -d core/*/ core/*/*/ | rev | cut -c 2- | rev | sed 's/$/ \\/'
PROJECTS := \
. \
../core/variant/_tests \
INCPATH := \
$(timprepscius.libraries.cpp.include) \
$(timprepscius.core.include)
LDPATH := $(timprepscius.libraries.cpp.link)
LIBS := \
-lCore_Variant \
-lCore_Zero \
-lCore_Misc \
-lCore_Allocator \
-lz_
EXEFILE := Core_Variant_Tests.exe
#COPYTO := $(ROOTDIR)/.bin
ifeq (Darwin,$(SYS_NAME))
LIBS += -lc++
endif
include $(MAKEDIR)/Makefile.bin

20
tests/main.cpp Normal file
View File

@@ -0,0 +1,20 @@
// 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_Variant_Tests.txt");
xLogInitialize();
xLogActivateStory("testing");
xLogActivateStory("debug");
int result = Catch::Session().run( argc, argv );
return result;
}