gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: tests: Fix Replacement Policy Tests

BB
Bobby Bruce (Gerrit)
Thu, Mar 23, 2023 8:16 PM

Bobby Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/69237?usp=email )

Change subject: tests: Fix Replacement Policy Tests
......................................................................

tests: Fix Replacement Policy Tests

The script run by 'test_replacement_policies.py' was named
'run_replacement_policy_test.py'. This caused the TestLib framework to
fail as any file with the string "test" in it was attempted to parse as
a test. As this is a gem5 Python config file, this caused a failure.

To fix this the file was renamed 'run_replacement_policy.py'.

Change-Id: I6f0a09e4f5056a9c94e258c9aea26bf277206733

R tests/gem5/replacement-policies/run_replacement_policy.py
M tests/gem5/replacement-policies/test_replacement_policies.py
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gem5/replacement-policies/run_replacement_policy_test.py
b/tests/gem5/replacement-policies/run_replacement_policy.py
similarity index 100%
rename from tests/gem5/replacement-policies/run_replacement_policy_test.py
rename to tests/gem5/replacement-policies/run_replacement_policy.py
diff --git a/tests/gem5/replacement-policies/test_replacement_policies.py
b/tests/gem5/replacement-policies/test_replacement_policies.py
index 7b00e10..4c74f72 100644
--- a/tests/gem5/replacement-policies/test_replacement_policies.py
+++ b/tests/gem5/replacement-policies/test_replacement_policies.py
@@ -45,7 +45,7 @@
"tests",
"gem5",
"replacement-policies",

  •        "run_replacement_policy_test.py",
    
  •        "run_replacement_policy.py",
        ),
        config_args=[config_name, config_path],
        valid_isas=(constants.null_tag,),
    

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/69237?usp=email
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: I6f0a09e4f5056a9c94e258c9aea26bf277206733
Gerrit-Change-Number: 69237
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce bbruce@ucdavis.edu
Gerrit-MessageType: newchange

Bobby Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/69237?usp=email ) Change subject: tests: Fix Replacement Policy Tests ...................................................................... tests: Fix Replacement Policy Tests The script run by 'test_replacement_policies.py' was named 'run_replacement_policy_test.py'. This caused the TestLib framework to fail as any file with the string "test" in it was attempted to parse as a test. As this is a gem5 Python config file, this caused a failure. To fix this the file was renamed 'run_replacement_policy.py'. Change-Id: I6f0a09e4f5056a9c94e258c9aea26bf277206733 --- R tests/gem5/replacement-policies/run_replacement_policy.py M tests/gem5/replacement-policies/test_replacement_policies.py 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem5/replacement-policies/run_replacement_policy_test.py b/tests/gem5/replacement-policies/run_replacement_policy.py similarity index 100% rename from tests/gem5/replacement-policies/run_replacement_policy_test.py rename to tests/gem5/replacement-policies/run_replacement_policy.py diff --git a/tests/gem5/replacement-policies/test_replacement_policies.py b/tests/gem5/replacement-policies/test_replacement_policies.py index 7b00e10..4c74f72 100644 --- a/tests/gem5/replacement-policies/test_replacement_policies.py +++ b/tests/gem5/replacement-policies/test_replacement_policies.py @@ -45,7 +45,7 @@ "tests", "gem5", "replacement-policies", - "run_replacement_policy_test.py", + "run_replacement_policy.py", ), config_args=[config_name, config_path], valid_isas=(constants.null_tag,), -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/69237?usp=email 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: I6f0a09e4f5056a9c94e258c9aea26bf277206733 Gerrit-Change-Number: 69237 Gerrit-PatchSet: 1 Gerrit-Owner: Bobby Bruce <bbruce@ucdavis.edu> Gerrit-MessageType: newchange