From d92e96732966ee48db3f8283367c0a1ffd84c1a7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 27 Nov 2017 19:04:15 -0800 Subject: [PATCH] tests: Move the bituniontest to be alongside the bitunion header. Change-Id: I7c1a49c41672a1108fcf67c5505b0441f90588ef Reviewed-on: https://gem5-review.googlesource.com/6142 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/base/SConscript | 2 ++ src/{unittest => base}/bituniontest.cc | 0 src/unittest/SConscript | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) rename src/{unittest => base}/bituniontest.cc (100%) diff --git a/src/base/SConscript b/src/base/SConscript index 7aa93f504..13c1ffff5 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -76,6 +76,8 @@ Source('loader/symtab.cc') Source('stats/text.cc') +GTest('bituniontest', 'bituniontest.cc') + DebugFlag('Annotate', "State machine annotation debugging") DebugFlag('AnnotateQ', "State machine annotation queue debugging") DebugFlag('AnnotateVerbose', "Dump all state machine annotation details") diff --git a/src/unittest/bituniontest.cc b/src/base/bituniontest.cc similarity index 100% rename from src/unittest/bituniontest.cc rename to src/base/bituniontest.cc diff --git a/src/unittest/SConscript b/src/unittest/SConscript index cca3336b2..37529e3fe 100644 --- a/src/unittest/SConscript +++ b/src/unittest/SConscript @@ -32,7 +32,6 @@ Import('*') Source('unittest.cc') -GTest('bituniontest', 'bituniontest.cc') UnitTest('bitvectest', 'bitvectest.cc') UnitTest('circlebuf', 'circlebuf.cc') UnitTest('cprintftest', 'cprintftest.cc') -- 2.30.2