unittests: add tslist tests to tier1test

This commit is contained in:
nillerusr 2022-08-17 14:28:41 +03:00
parent dd1dc186f9
commit 0d48bf354a
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "tier0/tslist.h"
#include <list>
#include <stdlib.h>
#if defined( _X360 )
#include "xbox/xbox_win32stubs.h"
#endif
#include "unitlib/unitlib.h"
DEFINE_TESTSUITE( TSListTestSuite )
DEFINE_TESTCASE( TSListTest, TSListTestSuite )
{
RunTSListTests( 50000 );
RunTSQueueTests( 50000 );
}

View File

@ -14,7 +14,7 @@ def configure(conf):
conf.define('TIER1TEST_EXPORTS', 1)
def build(bld):
source = ['tier0test.cpp']
source = ['tier0test.cpp', 'tslisttests.cpp']
includes = ['../../public', '../../public/tier0']
defines = []
libs = ['tier0','tier1','unitlib']