Bobby R. Bruce has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/33143 )

Change subject: tests: Moved realview config files
......................................................................

tests: Moved realview config files

This is part of a process of getting rid of the `tests/config`
directory, and placing these configs either where they are used,
removing them if unneeded, or moving them to `configs/example`.

These config files, in this patchset, are part of the realview tests
found in `tests/gem5/fs/linux/arm/`. They have been moved to
`tests/gem5/configs`.

Change-Id: I7706b59c58da6413f5f3dd816a1e5cd54a834a58
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33143
Reviewed-by: Bobby R. Bruce <[email protected]>
Maintainer: Bobby R. Bruce <[email protected]>
Tested-by: kokoro <[email protected]>
---
R tests/gem5/configs/arm_generic.py
R tests/gem5/configs/base_config.py
R tests/gem5/configs/checkpoint.py
R tests/gem5/configs/realview-minor-dual.py
R tests/gem5/configs/realview-minor.py
R tests/gem5/configs/realview-o3-checker.py
R tests/gem5/configs/realview-o3-dual.py
R tests/gem5/configs/realview-o3.py
R tests/gem5/configs/realview-simple-atomic-checkpoint.py
R tests/gem5/configs/realview-simple-atomic-dual.py
R tests/gem5/configs/realview-simple-atomic.py
R tests/gem5/configs/realview-simple-timing-dual-ruby.py
R tests/gem5/configs/realview-simple-timing-dual.py
R tests/gem5/configs/realview-simple-timing-ruby.py
R tests/gem5/configs/realview-simple-timing.py
R tests/gem5/configs/realview-switcheroo-atomic.py
R tests/gem5/configs/realview-switcheroo-full.py
R tests/gem5/configs/realview-switcheroo-noncaching-timing.py
R tests/gem5/configs/realview-switcheroo-o3.py
R tests/gem5/configs/realview-switcheroo-timing.py
R tests/gem5/configs/realview64-minor-dual.py
R tests/gem5/configs/realview64-minor.py
R tests/gem5/configs/realview64-o3-checker.py
R tests/gem5/configs/realview64-o3-dual.py
R tests/gem5/configs/realview64-o3.py
R tests/gem5/configs/realview64-simple-atomic-checkpoint.py
R tests/gem5/configs/realview64-simple-atomic-dual.py
R tests/gem5/configs/realview64-simple-atomic.py
R tests/gem5/configs/realview64-simple-timing-dual-ruby.py
R tests/gem5/configs/realview64-simple-timing-dual.py
R tests/gem5/configs/realview64-simple-timing-ruby.py
R tests/gem5/configs/realview64-simple-timing.py
R tests/gem5/configs/realview64-switcheroo-atomic.py
R tests/gem5/configs/realview64-switcheroo-full.py
R tests/gem5/configs/realview64-switcheroo-o3.py
R tests/gem5/configs/realview64-switcheroo-timing.py
R tests/gem5/configs/switcheroo.py
M tests/gem5/fs/linux/arm/run.py
M tests/gem5/fs/linux/arm/test.py
39 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Bobby R. Bruce: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/tests/configs/arm_generic.py b/tests/gem5/configs/arm_generic.py
similarity index 100%
rename from tests/configs/arm_generic.py
rename to tests/gem5/configs/arm_generic.py
diff --git a/tests/configs/base_config.py b/tests/gem5/configs/base_config.py
similarity index 99%
rename from tests/configs/base_config.py
rename to tests/gem5/configs/base_config.py
index b124a13..b5bddf4 100644
--- a/tests/configs/base_config.py
+++ b/tests/gem5/configs/base_config.py
@@ -38,7 +38,6 @@
 import m5
 from m5.objects import *
 from m5.proxy import *
-m5.util.addToPath('../configs/')
 from common import FSConfig
 from common import Options
 from common.Caches import *
diff --git a/tests/configs/checkpoint.py b/tests/gem5/configs/checkpoint.py
similarity index 100%
rename from tests/configs/checkpoint.py
rename to tests/gem5/configs/checkpoint.py
diff --git a/tests/configs/realview-minor-dual.py b/tests/gem5/configs/realview-minor-dual.py
similarity index 100%
rename from tests/configs/realview-minor-dual.py
rename to tests/gem5/configs/realview-minor-dual.py
diff --git a/tests/configs/realview-minor.py b/tests/gem5/configs/realview-minor.py
similarity index 100%
rename from tests/configs/realview-minor.py
rename to tests/gem5/configs/realview-minor.py
diff --git a/tests/configs/realview-o3-checker.py b/tests/gem5/configs/realview-o3-checker.py
similarity index 100%
rename from tests/configs/realview-o3-checker.py
rename to tests/gem5/configs/realview-o3-checker.py
diff --git a/tests/configs/realview-o3-dual.py b/tests/gem5/configs/realview-o3-dual.py
similarity index 100%
rename from tests/configs/realview-o3-dual.py
rename to tests/gem5/configs/realview-o3-dual.py
diff --git a/tests/configs/realview-o3.py b/tests/gem5/configs/realview-o3.py
similarity index 100%
rename from tests/configs/realview-o3.py
rename to tests/gem5/configs/realview-o3.py
diff --git a/tests/configs/realview-simple-atomic-checkpoint.py b/tests/gem5/configs/realview-simple-atomic-checkpoint.py
similarity index 100%
rename from tests/configs/realview-simple-atomic-checkpoint.py
rename to tests/gem5/configs/realview-simple-atomic-checkpoint.py
diff --git a/tests/configs/realview-simple-atomic-dual.py b/tests/gem5/configs/realview-simple-atomic-dual.py
similarity index 100%
rename from tests/configs/realview-simple-atomic-dual.py
rename to tests/gem5/configs/realview-simple-atomic-dual.py
diff --git a/tests/configs/realview-simple-atomic.py b/tests/gem5/configs/realview-simple-atomic.py
similarity index 100%
rename from tests/configs/realview-simple-atomic.py
rename to tests/gem5/configs/realview-simple-atomic.py
diff --git a/tests/configs/realview-simple-timing-dual-ruby.py b/tests/gem5/configs/realview-simple-timing-dual-ruby.py
similarity index 100%
rename from tests/configs/realview-simple-timing-dual-ruby.py
rename to tests/gem5/configs/realview-simple-timing-dual-ruby.py
diff --git a/tests/configs/realview-simple-timing-dual.py b/tests/gem5/configs/realview-simple-timing-dual.py
similarity index 100%
rename from tests/configs/realview-simple-timing-dual.py
rename to tests/gem5/configs/realview-simple-timing-dual.py
diff --git a/tests/configs/realview-simple-timing-ruby.py b/tests/gem5/configs/realview-simple-timing-ruby.py
similarity index 100%
rename from tests/configs/realview-simple-timing-ruby.py
rename to tests/gem5/configs/realview-simple-timing-ruby.py
diff --git a/tests/configs/realview-simple-timing.py b/tests/gem5/configs/realview-simple-timing.py
similarity index 100%
rename from tests/configs/realview-simple-timing.py
rename to tests/gem5/configs/realview-simple-timing.py
diff --git a/tests/configs/realview-switcheroo-atomic.py b/tests/gem5/configs/realview-switcheroo-atomic.py
similarity index 100%
rename from tests/configs/realview-switcheroo-atomic.py
rename to tests/gem5/configs/realview-switcheroo-atomic.py
diff --git a/tests/configs/realview-switcheroo-full.py b/tests/gem5/configs/realview-switcheroo-full.py
similarity index 100%
rename from tests/configs/realview-switcheroo-full.py
rename to tests/gem5/configs/realview-switcheroo-full.py
diff --git a/tests/configs/realview-switcheroo-noncaching-timing.py b/tests/gem5/configs/realview-switcheroo-noncaching-timing.py
similarity index 100%
rename from tests/configs/realview-switcheroo-noncaching-timing.py
rename to tests/gem5/configs/realview-switcheroo-noncaching-timing.py
diff --git a/tests/configs/realview-switcheroo-o3.py b/tests/gem5/configs/realview-switcheroo-o3.py
similarity index 100%
rename from tests/configs/realview-switcheroo-o3.py
rename to tests/gem5/configs/realview-switcheroo-o3.py
diff --git a/tests/configs/realview-switcheroo-timing.py b/tests/gem5/configs/realview-switcheroo-timing.py
similarity index 100%
rename from tests/configs/realview-switcheroo-timing.py
rename to tests/gem5/configs/realview-switcheroo-timing.py
diff --git a/tests/configs/realview64-minor-dual.py b/tests/gem5/configs/realview64-minor-dual.py
similarity index 100%
rename from tests/configs/realview64-minor-dual.py
rename to tests/gem5/configs/realview64-minor-dual.py
diff --git a/tests/configs/realview64-minor.py b/tests/gem5/configs/realview64-minor.py
similarity index 100%
rename from tests/configs/realview64-minor.py
rename to tests/gem5/configs/realview64-minor.py
diff --git a/tests/configs/realview64-o3-checker.py b/tests/gem5/configs/realview64-o3-checker.py
similarity index 100%
rename from tests/configs/realview64-o3-checker.py
rename to tests/gem5/configs/realview64-o3-checker.py
diff --git a/tests/configs/realview64-o3-dual.py b/tests/gem5/configs/realview64-o3-dual.py
similarity index 100%
rename from tests/configs/realview64-o3-dual.py
rename to tests/gem5/configs/realview64-o3-dual.py
diff --git a/tests/configs/realview64-o3.py b/tests/gem5/configs/realview64-o3.py
similarity index 100%
rename from tests/configs/realview64-o3.py
rename to tests/gem5/configs/realview64-o3.py
diff --git a/tests/configs/realview64-simple-atomic-checkpoint.py b/tests/gem5/configs/realview64-simple-atomic-checkpoint.py
similarity index 100%
rename from tests/configs/realview64-simple-atomic-checkpoint.py
rename to tests/gem5/configs/realview64-simple-atomic-checkpoint.py
diff --git a/tests/configs/realview64-simple-atomic-dual.py b/tests/gem5/configs/realview64-simple-atomic-dual.py
similarity index 100%
rename from tests/configs/realview64-simple-atomic-dual.py
rename to tests/gem5/configs/realview64-simple-atomic-dual.py
diff --git a/tests/configs/realview64-simple-atomic.py b/tests/gem5/configs/realview64-simple-atomic.py
similarity index 100%
rename from tests/configs/realview64-simple-atomic.py
rename to tests/gem5/configs/realview64-simple-atomic.py
diff --git a/tests/configs/realview64-simple-timing-dual-ruby.py b/tests/gem5/configs/realview64-simple-timing-dual-ruby.py
similarity index 100%
rename from tests/configs/realview64-simple-timing-dual-ruby.py
rename to tests/gem5/configs/realview64-simple-timing-dual-ruby.py
diff --git a/tests/configs/realview64-simple-timing-dual.py b/tests/gem5/configs/realview64-simple-timing-dual.py
similarity index 100%
rename from tests/configs/realview64-simple-timing-dual.py
rename to tests/gem5/configs/realview64-simple-timing-dual.py
diff --git a/tests/configs/realview64-simple-timing-ruby.py b/tests/gem5/configs/realview64-simple-timing-ruby.py
similarity index 100%
rename from tests/configs/realview64-simple-timing-ruby.py
rename to tests/gem5/configs/realview64-simple-timing-ruby.py
diff --git a/tests/configs/realview64-simple-timing.py b/tests/gem5/configs/realview64-simple-timing.py
similarity index 100%
rename from tests/configs/realview64-simple-timing.py
rename to tests/gem5/configs/realview64-simple-timing.py
diff --git a/tests/configs/realview64-switcheroo-atomic.py b/tests/gem5/configs/realview64-switcheroo-atomic.py
similarity index 100%
rename from tests/configs/realview64-switcheroo-atomic.py
rename to tests/gem5/configs/realview64-switcheroo-atomic.py
diff --git a/tests/configs/realview64-switcheroo-full.py b/tests/gem5/configs/realview64-switcheroo-full.py
similarity index 100%
rename from tests/configs/realview64-switcheroo-full.py
rename to tests/gem5/configs/realview64-switcheroo-full.py
diff --git a/tests/configs/realview64-switcheroo-o3.py b/tests/gem5/configs/realview64-switcheroo-o3.py
similarity index 100%
rename from tests/configs/realview64-switcheroo-o3.py
rename to tests/gem5/configs/realview64-switcheroo-o3.py
diff --git a/tests/configs/realview64-switcheroo-timing.py b/tests/gem5/configs/realview64-switcheroo-timing.py
similarity index 100%
rename from tests/configs/realview64-switcheroo-timing.py
rename to tests/gem5/configs/realview64-switcheroo-timing.py
diff --git a/tests/configs/switcheroo.py b/tests/gem5/configs/switcheroo.py
similarity index 100%
rename from tests/configs/switcheroo.py
rename to tests/gem5/configs/switcheroo.py
diff --git a/tests/gem5/fs/linux/arm/run.py b/tests/gem5/fs/linux/arm/run.py
index 1783439..f0ba9bd 100644
--- a/tests/gem5/fs/linux/arm/run.py
+++ b/tests/gem5/fs/linux/arm/run.py
@@ -62,7 +62,8 @@
gem5_root = joinpath(os.path.dirname(__file__), '..', '..', '..', '..', '..')
 sys.path.append(joinpath(gem5_root, 'configs'))
 tests_root = joinpath(gem5_root, 'tests')
-sys.path.append(joinpath(tests_root, 'configs'))
+sys.path.append(joinpath(tests_root, 'gem5', 'configs'))
+

 exec(compile(open(config).read(), config, 'exec'))

diff --git a/tests/gem5/fs/linux/arm/test.py b/tests/gem5/fs/linux/arm/test.py
index a7eacec..89e9e65 100644
--- a/tests/gem5/fs/linux/arm/test.py
+++ b/tests/gem5/fs/linux/arm/test.py
@@ -96,7 +96,7 @@

 for name in arm_fs_quick_tests:
     args = [
-        joinpath(config.base_dir, 'tests', 'configs', name + '.py'),
+ joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'),
         path
     ]
     gem5_verify_config(
@@ -111,7 +111,7 @@

 for name in arm_fs_long_tests:
     args = [
-        joinpath(config.base_dir, 'tests', 'configs', name + '.py'),
+ joinpath(config.base_dir, 'tests', 'gem5', 'configs', name + '.py'),
         path
     ]
     gem5_verify_config(

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33143
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I7706b59c58da6413f5f3dd816a1e5cd54a834a58
Gerrit-Change-Number: 33143
Gerrit-PatchSet: 12
Gerrit-Owner: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Ciro Santilli <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to