diff options
author | Gabe Black <gabeblack@google.com> | 2018-11-28 17:36:28 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-11-29 12:20:06 +0000 |
commit | 66f028550496c67756d02f9127432e057beeafc8 (patch) | |
tree | d438074952e48063ea9e6f773d2d88b0fe9cd394 | |
parent | 9995bb9875fccaecb2c4ce631f60048f5a93f1e9 (diff) | |
download | gem5-66f028550496c67756d02f9127432e057beeafc8.tar.xz |
base: Rename unit test cc files to be *.test.cc.
This makes the name easier to read, looks ok if the file is named with
underscores between words or not, is easy to grep for, and shouldn't
introduce any ambiguities in the file names.
Change-Id: I34b7bcccea2d87c10c0de417dd5e3ef27c4b5666
Reviewed-on: https://gem5-review.googlesource.com/c/14676
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r-- | src/base/SConscript | 20 | ||||
-rw-r--r-- | src/base/addr_range.test.cc (renamed from src/base/addr_range_test.cc) | 0 | ||||
-rw-r--r-- | src/base/addr_range_map.test.cc (renamed from src/base/addr_range_map_test.cc) | 0 | ||||
-rw-r--r-- | src/base/bitunion.test.cc (renamed from src/base/bituniontest.cc) | 0 | ||||
-rw-r--r-- | src/base/circlebuf.test.cc (renamed from src/base/circlebuftest.cc) | 0 | ||||
-rw-r--r-- | src/base/coroutine.test.cc (renamed from src/base/coroutinetest.cc) | 0 | ||||
-rw-r--r-- | src/base/cprintf.test.cc (renamed from src/base/cprintftest.cc) | 0 | ||||
-rw-r--r-- | src/base/fiber.test.cc (renamed from src/base/fibertest.cc) | 0 | ||||
-rw-r--r-- | src/base/inifile.test.cc (renamed from src/base/inifiletest.cc) | 0 | ||||
-rw-r--r-- | src/base/pixel.test.cc (renamed from src/base/pixeltest.cc) | 0 | ||||
-rw-r--r-- | src/base/trie.test.cc (renamed from src/base/trietest.cc) | 0 |
11 files changed, 10 insertions, 10 deletions
diff --git a/src/base/SConscript b/src/base/SConscript index b0893a145..673590371 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -40,26 +40,26 @@ Source('imgwriter.cc') Source('bmpwriter.cc') Source('callback.cc') Source('cprintf.cc', add_tags='gtest lib') -GTest('cprintftest', 'cprintftest.cc') +GTest('cprintftest', 'cprintf.test.cc') Source('debug.cc') if env['USE_FENV']: Source('fenv.c') if env['USE_PNG']: Source('pngwriter.cc') Source('fiber.cc') -GTest('fibertest', 'fibertest.cc', 'fiber.cc') -GTest('coroutinetest', 'coroutinetest.cc', 'fiber.cc') +GTest('fibertest', 'fiber.test.cc', 'fiber.cc') +GTest('coroutinetest', 'coroutine.test.cc', 'fiber.cc') Source('framebuffer.cc') Source('hostinfo.cc') Source('inet.cc') Source('inifile.cc') -GTest('inifiletest', 'inifiletest.cc', 'inifile.cc', 'str.cc') +GTest('inifiletest', 'inifile.test.cc', 'inifile.cc', 'str.cc') Source('intmath.cc') Source('logging.cc') Source('match.cc') Source('output.cc') Source('pixel.cc') -GTest('pixeltest', 'pixeltest.cc', 'pixel.cc') +GTest('pixeltest', 'pixel.test.cc', 'pixel.cc') Source('pollevent.cc') Source('random.cc') if env['TARGET_ISA'] != 'null': @@ -69,7 +69,7 @@ Source('statistics.cc') Source('str.cc') Source('time.cc') Source('trace.cc') -GTest('trietest', 'trietest.cc') +GTest('trietest', 'trie.test.cc') Source('types.cc') Source('loader/aout_object.cc') @@ -83,10 +83,10 @@ Source('loader/symtab.cc') Source('stats/text.cc') -GTest('addr_range_test', 'addr_range_test.cc') -GTest('AddrRangeMapTest', 'addr_range_map_test.cc') -GTest('bituniontest', 'bituniontest.cc') -GTest('CircleBufTest', 'circlebuftest.cc') +GTest('addr_range_test', 'addr_range.test.cc') +GTest('AddrRangeMapTest', 'addr_range_map.test.cc') +GTest('bituniontest', 'bitunion.test.cc') +GTest('CircleBufTest', 'circlebuf.test.cc') DebugFlag('Annotate', "State machine annotation debugging") DebugFlag('AnnotateQ', "State machine annotation queue debugging") diff --git a/src/base/addr_range_test.cc b/src/base/addr_range.test.cc index 9900c6c58..9900c6c58 100644 --- a/src/base/addr_range_test.cc +++ b/src/base/addr_range.test.cc diff --git a/src/base/addr_range_map_test.cc b/src/base/addr_range_map.test.cc index 397372c06..397372c06 100644 --- a/src/base/addr_range_map_test.cc +++ b/src/base/addr_range_map.test.cc diff --git a/src/base/bituniontest.cc b/src/base/bitunion.test.cc index d7ed95bb8..d7ed95bb8 100644 --- a/src/base/bituniontest.cc +++ b/src/base/bitunion.test.cc diff --git a/src/base/circlebuftest.cc b/src/base/circlebuf.test.cc index 9f5679d84..9f5679d84 100644 --- a/src/base/circlebuftest.cc +++ b/src/base/circlebuf.test.cc diff --git a/src/base/coroutinetest.cc b/src/base/coroutine.test.cc index 655bc254a..655bc254a 100644 --- a/src/base/coroutinetest.cc +++ b/src/base/coroutine.test.cc diff --git a/src/base/cprintftest.cc b/src/base/cprintf.test.cc index 3a1b97e40..3a1b97e40 100644 --- a/src/base/cprintftest.cc +++ b/src/base/cprintf.test.cc diff --git a/src/base/fibertest.cc b/src/base/fiber.test.cc index 5ed13d425..5ed13d425 100644 --- a/src/base/fibertest.cc +++ b/src/base/fiber.test.cc diff --git a/src/base/inifiletest.cc b/src/base/inifile.test.cc index 4235997f7..4235997f7 100644 --- a/src/base/inifiletest.cc +++ b/src/base/inifile.test.cc diff --git a/src/base/pixeltest.cc b/src/base/pixel.test.cc index 4c88fc964..4c88fc964 100644 --- a/src/base/pixeltest.cc +++ b/src/base/pixel.test.cc diff --git a/src/base/trietest.cc b/src/base/trie.test.cc index 154200973..154200973 100644 --- a/src/base/trietest.cc +++ b/src/base/trie.test.cc |