diff --git a/tests/gem5/stats/configs/simstat_output_check.py b/tests/gem5/stats/configs/pystat_scalar_check.py similarity index 89% rename from tests/gem5/stats/configs/simstat_output_check.py rename to tests/gem5/stats/configs/pystat_scalar_check.py index e5379c4e39..3c98f901df 100644 --- a/tests/gem5/stats/configs/simstat_output_check.py +++ b/tests/gem5/stats/configs/pystat_scalar_check.py @@ -34,13 +34,13 @@ from m5.objects import ( ) from m5.stats.gem5stats import get_simstat -"""This script is used for checking that statistics set in the simulation are -correctly parsed through to the python SimStats. This script sets the -statistics using the "StatTester" simobjects and ensures verifies correctness -against the expected JSON output and that produced by the SimStats module. +"""This script is used for checking that Scaler statistics set in the simulation are +correctly parsed through to the python Pystats. """ -parser = argparse.ArgumentParser(description="Tests the output of a SimStat.") +parser = argparse.ArgumentParser( + description="Tests the output of a Scaler Pystat." +) parser.add_argument( "value", type=float, help="The value of the scalar statistic." diff --git a/tests/gem5/stats/test_simstats_output.py b/tests/gem5/stats/test_pystat_output.py similarity index 95% rename from tests/gem5/stats/test_simstats_output.py rename to tests/gem5/stats/test_pystat_output.py index da0c9bdca9..619509dc56 100644 --- a/tests/gem5/stats/test_simstats_output.py +++ b/tests/gem5/stats/test_pystat_output.py @@ -27,7 +27,7 @@ from testlib import * gem5_verify_config( - name="simstat-scaler-int-test", + name="pystat-scaler-int-test", fixtures=(), verifiers=[], config=joinpath( @@ -36,7 +36,7 @@ gem5_verify_config( "gem5", "stats", "configs", - "simstat_output_check.py", + "pystat_scalar_check.py", ), config_args=[ "42", @@ -50,7 +50,7 @@ gem5_verify_config( ) gem5_verify_config( - name="simstat-scaler-int-zero-test", + name="pystat-scaler-int-zero-test", fixtures=(), verifiers=[], config=joinpath( @@ -59,7 +59,7 @@ gem5_verify_config( "gem5", "stats", "configs", - "simstat_output_check.py", + "pystat_scalar_check.py", ), config_args=[ "0", @@ -69,7 +69,7 @@ gem5_verify_config( ) gem5_verify_config( - name="simstat-scaler-int-negative-test", + name="pystat-scaler-int-negative-test", fixtures=(), verifiers=[], config=joinpath( @@ -78,7 +78,7 @@ gem5_verify_config( "gem5", "stats", "configs", - "simstat_output_check.py", + "pystat_scalar_check.py", ), config_args=[ "-245", @@ -88,7 +88,7 @@ gem5_verify_config( ) gem5_verify_config( - name="simstat-scaler-float-test", + name="pystat-scaler-float-test", fixtures=(), verifiers=[], config=joinpath( @@ -97,7 +97,7 @@ gem5_verify_config( "gem5", "stats", "configs", - "simstat_output_check.py", + "pystat_scalar_check.py", ), config_args=[ "42.869",