flatten 20260225
This commit is contained in:
1
tests/Makefile
Symbolic link
1
tests/Makefile
Symbolic link
@@ -0,0 +1 @@
|
||||
../../Make/Makefile
|
||||
36
tests/Makefile.project
Executable file
36
tests/Makefile.project
Executable file
@@ -0,0 +1,36 @@
|
||||
include $(MAKEDIR)/Makefile.base
|
||||
|
||||
PROJECTS := \
|
||||
. \
|
||||
../core/algorithm/_tests \
|
||||
../core/const_hash/_tests \
|
||||
../core/const_expr/_tests \
|
||||
../core/containers/_tests \
|
||||
../core/iterators/_tests \
|
||||
../core/log/_tests \
|
||||
../core/ptr/_tests \
|
||||
../core/ptr/using_info/_tests \
|
||||
../core/ptr/using_maps/_tests \
|
||||
../core/rtti/_tests \
|
||||
../core/testing/_tests \
|
||||
|
||||
INCPATH := \
|
||||
$(timprepscius.libraries.cpp.include) \
|
||||
$(timprepscius.core.include)
|
||||
|
||||
LDPATH := \
|
||||
$(timprepscius.libraries.cpp.link)
|
||||
|
||||
LIBS := \
|
||||
-lCore_Zero
|
||||
|
||||
EXEFILE := Core_Zero_Tests.exe
|
||||
|
||||
#COPYTO := $(ROOTDIR)/.bin
|
||||
|
||||
ifeq (Darwin,$(SYS_NAME))
|
||||
LIBS += -lc++
|
||||
endif
|
||||
|
||||
|
||||
include $(MAKEDIR)/Makefile.bin
|
||||
21
tests/Run.cpp
Normal file
21
tests/Run.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// License: Modified MIT (NON-AI)
|
||||
// See the LICENSE file in the root directory for license information.
|
||||
// Copyright 2025 Timothy Prepscius
|
||||
|
||||
#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();
|
||||
xLogActivateStory("testing");
|
||||
xLogActivateStory("debug");
|
||||
|
||||
int result = Catch::Session().run( argc, argv );
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user