From f1f101d981179af0439193af1ff717439fceafbb Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Fri, 25 Jun 2021 10:39:29 -0700 Subject: [PATCH] util-gem5art: Fix the artifact test with incorrect git repo The gem5art tests add the current repository as an artifact. Previously this repository was called "gem5art". Since moving to the gem5 repo, it is now called "gem5". Therefore the test checking the repository name needed fixed. Note: We need a better solution for testing gem5art's git functionality. Using the current repository is not stable, as this fix shows. Noted in Jira: https://gem5.atlassian.net/browse/GEM5-1013. Change-Id: I017ff039ccb1c0a290f9aa1a09bd738c1820f88f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47220 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- util/gem5art/artifact/tests/test_artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gem5art/artifact/tests/test_artifact.py b/util/gem5art/artifact/tests/test_artifact.py index 6a5465036b..897113dfb6 100644 --- a/util/gem5art/artifact/tests/test_artifact.py +++ b/util/gem5art/artifact/tests/test_artifact.py @@ -92,7 +92,7 @@ class TestGit(unittest.TestCase): def test_origin(self): git = artifact.artifact.getGit(Path(".")) self.assertTrue( - git["origin"].endswith("gem5art"), "Origin should end with gem5art" + git["origin"].endswith("gem5"), "Origin should end with gem5art" )