From 584a1f6723f8cc20319b6b594d70b19056fb7679 Mon Sep 17 00:00:00 2001
From: Gabe Black <gabeblack@google.com>
Date: Sat, 8 Dec 2018 01:59:34 -0800
Subject: systemc: Also look for tests in the tlm test directory.

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 | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/systemc')

diff --git a/src/systemc/tests/SConscript b/src/systemc/tests/SConscript
index 745061020..f7894aa34 100644
--- a/src/systemc/tests/SConscript
+++ b/src/systemc/tests/SConscript
@@ -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):
-- 
cgit v1.2.3