stdlib: Change resource compatibility warning (#91)

* stdlib: Change resource compatibility warning

If the gem5 version is "develop", the warning will not
be thrown.

Change-Id: Id2be1c4323c6ca06c5503c2885c1608f8d119420

* stdlib: Change resource compatibility warning

If the gem5 version is "develop", the warning will not
be thrown.

Change-Id: Id2be1c4323c6ca06c5503c2885c1608f8d119420

* tests: Edit obtain_resources warning test

Since we are editing the warning message for
the develop branch, the test removes the
warning message as well.

Change-Id: I90882340188360bb3435344cdc14b324412c6c0e

---------

Co-authored-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Kunal Pai
2023-07-20 12:00:49 -07:00
committed by GitHub
parent f7da973f34
commit 3c6563d6f7
2 changed files with 12 additions and 16 deletions

View File

@@ -110,12 +110,6 @@ class TestObtainResourcesCheck(unittest.TestCase):
resource_directory=self.get_resource_dir(),
resource_version="1.5.0",
)
self.assertTrue(
f"warn: Resource test-binary-resource with version 1.5.0 is not known to be compatible with gem5 version {core.gem5Version}. "
"This may cause problems with your simulation. This resource's compatibility with different gem5 versions can be found here: "
f"https://resources.gem5.org/resources/test-binary-resource/versions"
in f.getvalue()
)
resource = obtain_resource(
resource_id="test-binary-resource",