aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore-test/zenstore-test.cpp
blob: 04f5a8e10d90fbe678741fb538c21e879fdaea16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Epic Games, Inc. All Rights Reserved.

#include <zencore/filesystem.h>
#include <zencore/logging.h>
#include <zencore/trace.h>
#include <zenstore/zenstore.h>

#include <zencore/memory/newdelete.h>

#if ZEN_WITH_TESTS
#	define ZEN_TEST_WITH_RUNNER 1
#	include <zencore/testing.h>
#endif

int
main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
{
#if ZEN_WITH_TESTS
	zen::zenstore_forcelinktests();

	zen::TraceInit("zenstore-test");
	zen::logging::InitializeLogging();
	zen::MaximizeOpenFileCount();

	return ZEN_RUN_TESTS(argc, argv);
#else
	return 0;
#endif
}