Reviewed-by: Ray Ni <ray...@intel.com> > -----Original Message----- > From: Tan, Dun <dun....@intel.com> > Sent: Thursday, March 23, 2023 3:41 PM > To: devel@edk2.groups.io > Cc: Dong, Eric <eric.d...@intel.com>; Ni, Ray <ray...@intel.com>; Kumar, > Rahul R <rahul.r.ku...@intel.com>; Gerd Hoffmann <kra...@redhat.com> > Subject: [Patch V4 21/21] UefiCpuPkg/CpuPageTableLib: Reduce the number > of random tests > > Reduce the number of random tests. In previous patch, non-1:1 > mapping is enbaled and it may need more than an hour and a half > for the CI test, which may lead to CI timeout. Reduce the number > of random test count to pass the CI. > > Signed-off-by: Dun Tan <dun....@intel.com> > Cc: Eric Dong <eric.d...@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Rahul Kumar <rahul1.ku...@intel.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > --- > > UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHo > st.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git > a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > index 8554eefa39..c60302eeac 100644 > --- > a/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > +++ > b/UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTest > Host.c > @@ -9,11 +9,11 @@ > #include "CpuPageTableLibUnitTest.h" > > // ----------------------------------------------------------------------- > PageMode-- > TestCount-TestRangeCount---RandomOptions > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPagingPae = { PagingPae, 100, 20, USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level = { Paging4Level, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level1GB = { Paging4Level1GB, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level = { Paging5Level, 100, 20, > USE_RANDOM_ARRAY }; > -static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level1GB = { Paging5Level1GB, 100, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPagingPae = { PagingPae, 30, 20, USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level = { Paging4Level, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging4Level1GB = { Paging4Level1GB, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level = { Paging5Level, 30, 20, > USE_RANDOM_ARRAY }; > +static CPU_PAGE_TABLE_LIB_RANDOM_TEST_CONTEXT > mTestContextPaging5Level1GB = { Paging5Level1GB, 30, 20, > USE_RANDOM_ARRAY }; > > /** > Check if the input parameters are not supported. > -- > 2.31.1.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#101691): https://edk2.groups.io/g/devel/message/101691 Mute This Topic: https://groups.io/mt/97796400/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-