From c849dd804a7c43ee51a353b8ca4e3c011913dc72 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 4 Dec 2017 19:46:26 -0800 Subject: [PATCH] tests: Move the cprintftest unit test into src/base. That way it will live alongside the code it tests. Change-Id: I00baad2206870a4619b7cee792a1d4c303dad04d Reviewed-on: https://gem5-review.googlesource.com/6324 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/base/SConscript | 1 + src/{unittest => base}/cprintftest.cc | 0 src/unittest/SConscript | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{unittest => base}/cprintftest.cc (100%) diff --git a/src/base/SConscript b/src/base/SConscript index 881a38ac5..bbdc85f75 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -41,6 +41,7 @@ Source('imgwriter.cc') Source('bmpwriter.cc') Source('callback.cc') Source('cprintf.cc', add_tags='gtest lib') +GTest('cprintftest', 'cprintftest.cc') Source('debug.cc') if env['USE_FENV']: Source('fenv.c') diff --git a/src/unittest/cprintftest.cc b/src/base/cprintftest.cc similarity index 100% rename from src/unittest/cprintftest.cc rename to src/base/cprintftest.cc diff --git a/src/unittest/SConscript b/src/unittest/SConscript index 1a4b8bb20..21b592e6c 100644 --- a/src/unittest/SConscript +++ b/src/unittest/SConscript @@ -33,7 +33,6 @@ Import('*') Source('unittest.cc') UnitTest('circlebuf', 'circlebuf.cc') -GTest('cprintftest', 'cprintftest.cc') UnitTest('cprintftime', 'cprintftime.cc') UnitTest('pixeltest', 'pixeltest.cc') UnitTest('initest', 'initest.cc') -- 2.30.2