mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
unittests: add tslist tests to tier1test
This commit is contained in:
parent
dd1dc186f9
commit
0d48bf354a
23
unittests/tier0test/tslisttests.cpp
Normal file
23
unittests/tier0test/tslisttests.cpp
Normal 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 );
|
||||
}
|
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user