stdlib: Specialize scalar tests; use 'pystat', not 'simstat'
1. Thests here for the Scalar tasks are named appropriately. Not just generic "SimStats tess". 2. We remove 'simstat' terminology. The correct word is "Pystats". Change-Id: Idebc4e750f4be7f140ad6bff9c6772f580a24861
This commit is contained in:
@@ -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."
|
||||
@@ -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",
|
||||
Reference in New Issue
Block a user