From 4e5f5e672b8e355c0a15d050fa7ea9a88acfb5cd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 3 Dec 2017 01:59:39 -0800 Subject: [PATCH] tests: Move the trietest unit test into base. This puts it alongside trie.hh, the header file it tests. Change-Id: Id8ca0c1d68bdc01807c5ba4b51c0142b1221385d Reviewed-on: https://gem5-review.googlesource.com/6281 Maintainer: Andreas Sandberg Reviewed-by: Brandon Potter --- src/base/SConscript | 1 + src/{unittest => base}/trietest.cc | 0 src/unittest/SConscript | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{unittest => base}/trietest.cc (100%) diff --git a/src/base/SConscript b/src/base/SConscript index efb77431d..881a38ac5 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -64,6 +64,7 @@ Source('statistics.cc') Source('str.cc') Source('time.cc') Source('trace.cc') +GTest('trietest', 'trietest.cc') Source('types.cc') Source('loader/aout_object.cc') diff --git a/src/unittest/trietest.cc b/src/base/trietest.cc similarity index 100% rename from src/unittest/trietest.cc rename to src/base/trietest.cc diff --git a/src/unittest/SConscript b/src/unittest/SConscript index b497ddbfd..361c215ac 100644 --- a/src/unittest/SConscript +++ b/src/unittest/SConscript @@ -41,7 +41,6 @@ UnitTest('nmtest', 'nmtest.cc') UnitTest('rangemaptest', 'rangemaptest.cc') UnitTest('refcnttest', 'refcnttest.cc') UnitTest('strnumtest', 'strnumtest.cc') -GTest('trietest', 'trietest.cc') stattest_py = PySource('m5', 'stattestmain.py', tags='stattest') UnitTest('stattest', 'stattest.cc', stattest_py, main=True) -- 2.30.2