Browse Source

unittests: add tslist tests to tier1test

pull/114/head
nillerusr 2 years ago
parent
commit
0d48bf354a
  1. 23
      unittests/tier0test/tslisttests.cpp
  2. 2
      unittests/tier0test/wscript

23
unittests/tier0test/tslisttests.cpp

@ -0,0 +1,23 @@ @@ -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 );
}

2
unittests/tier0test/wscript

@ -14,7 +14,7 @@ def configure(conf): @@ -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…
Cancel
Save