Daniel Carvalho has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46059 )

Change subject: sim: Fix test names in guest ABI unit test
......................................................................

sim: Fix test names in guest ABI unit test

Fix test names that were incorrectly sed'ed. Instead of
reversing, we have added a Test suffix as it is the
predominant approach among unit tests.

Change-Id: I4f5e9539de7646dee6c1e40076f18595d591dabf
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/sim/guest_abi.test.cc
1 file changed, 7 insertions(+), 7 deletions(-)



diff --git a/src/sim/guest_abi.test.cc b/src/sim/guest_abi.test.cc
index 3dbe60f..19f3c30 100644
--- a/src/sim/guest_abi.test.cc
+++ b/src/sim/guest_abi.test.cc
@@ -292,7 +292,7 @@


 // The actual test bodies.
-TEST(guest_abi, ABI_1D_args)
+TEST(GuestABITest, ABI_1D_args)
 {
     ThreadContext tc;
     invokeSimcall<TestABI_1D>(&tc, testIntVoid);
@@ -300,14 +300,14 @@
     EXPECT_EQ(tc.floatResult, tc.DefaultFloatResult);
 }

-TEST(guest_abi, ABI_Prepare)
+TEST(GuestABITest, ABI_Prepare)
 {
     ThreadContext tc;
     invokeSimcall<TestABI_Prepare>(&tc, testPrepareVoid);
     invokeSimcall<TestABI_Prepare>(&tc, testPrepareInt);
 }

-TEST(guest_abi, ABI_2D_args)
+TEST(GuestABITest, ABI_2D_args)
 {
     ThreadContext tc;
     invokeSimcall<TestABI_2D>(&tc, test2DVoid);
@@ -315,14 +315,14 @@
     EXPECT_EQ(tc.floatResult, tc.DefaultFloatResult);
 }

-TEST(guest_abi, ABI_TC_init)
+TEST(GuestABITest, ABI_TC_init)
 {
     ThreadContext tc;
     tc.intOffset = 2;
     invokeSimcall<TestABI_TcInit>(&tc, testTcInit);
 }

-TEST(guest_abi, ABI_returns)
+TEST(GuestABITest, ABI_returns)
 {
     // 1D returns.
     {
@@ -380,14 +380,14 @@
     }
 }

-TEST(guest_abi, dumpSimcall)
+TEST(GuestABITest, dumpSimcall)
 {
     ThreadContext tc;
     std::string dump = dumpSimcall<TestABI_1D>("test", &tc, testIntVoid);
     EXPECT_EQ(dump, "test(0, 11, 2, 13, ...)");
 }

-TEST(guest_abi, isVarArgs)
+TEST(GuestABITest, isVarArgs)
 {
     EXPECT_TRUE(guest_abi::IsVarArgs<guest_abi::VarArgs<int>>::value);
     EXPECT_FALSE(guest_abi::IsVarArgs<int>::value);

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46059
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: I4f5e9539de7646dee6c1e40076f18595d591dabf
Gerrit-Change-Number: 46059
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to