systemc: Also look for tests in the tlm test directory.
authorGabe Black <gabeblack@google.com>
Sat, 8 Dec 2018 09:59:34 +0000 (01:59 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 9 Jan 2019 01:32:08 +0000 (01:32 +0000)
Both basic systemc and tlm tests were present, but scons only looked
in the systemc directory when populating the test json. This change
makes it also look in the tlm directory so that those tests can be run.

Change-Id: Id65b744664350f6105fb3a4f28cbc7ab91d8c82e
Reviewed-on: https://gem5-review.googlesource.com/c/15056
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>

src/systemc/tests/SConscript

index 745061020b2c5781dc67d8077b5971f56f75c0a4..f7894aa3420b92d07683463e01b1b7e09d2cdd3d 100644 (file)
@@ -170,6 +170,7 @@ if env['USE_SYSTEMC']:
         os.path.walk(str(subdir_src), visitor, None)
 
     scan_dir_for_tests('systemc')
+    scan_dir_for_tests('tlm')
 
 
     def build_tests_json(target, source, env):