diff --git a/unittests/tier0test/tslisttests.cpp b/unittests/tier0test/tslisttests.cpp new file mode 100644 index 00000000..b2a701a3 --- /dev/null +++ b/unittests/tier0test/tslisttests.cpp @@ -0,0 +1,23 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#include "tier0/tslist.h" +#include +#include +#if defined( _X360 ) +#include "xbox/xbox_win32stubs.h" +#endif + +#include "unitlib/unitlib.h" + +DEFINE_TESTSUITE( TSListTestSuite ) + +DEFINE_TESTCASE( TSListTest, TSListTestSuite ) +{ + RunTSListTests( 50000 ); + + RunTSQueueTests( 50000 ); +} diff --git a/unittests/tier0test/wscript b/unittests/tier0test/wscript index 7d72c07c..44471a12 100755 --- a/unittests/tier0test/wscript +++ b/unittests/tier0test/wscript @@ -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']