From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.1386.1570673637626314433 for ; Wed, 09 Oct 2019 19:13:57 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: xianhuix.liu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2019 19:13:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,278,1566889200"; d="scan'208";a="187810473" Received: from xianhu2x-mobl.ccr.corp.intel.com ([10.239.196.134]) by orsmga008.jf.intel.com with ESMTP; 09 Oct 2019 19:13:55 -0700 From: "xianhui liu" To: devel@edk2.groups.io Cc: Heinrich Schuchardt , Supreeth Venkatesh , Eric Jin , xianhui liu Subject: [edk2-test][Patch v2] uefi-sct/SctPkg: Sync SimpleTextInputEx change to IHV Date: Thu, 10 Oct 2019 10:13:13 +0800 Message-Id: <20191010021313.12704-1-xianhuix.liu@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2169 sync commit fc1a95f7b1a4c157d0536bc159bc5114cdfcb9b4 on file EFI/Protocol/SimpleTextInputEx/BlackBoxTest /SimpleTextInputExBBTestConformance.c to IHV Cc: Heinrich Schuchardt Cc: Supreeth Venkatesh Cc: Eric Jin Signed-off-by: xianhui liu --- .../BlackBoxTest/SimpleTextInputExBBTestConformance.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTestConformance.c b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTestConformance.c index 3e230f9e..e1797219 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTestConformance.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/SimpleTextInputEx/BlackBoxTest/SimpleTextInputExBBTestConformance.c @@ -1,7 +1,7 @@ /** @file Copyright 2006 - 2016 Unified EFI, Inc.
- Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -153,7 +153,7 @@ BBTestSetStateConformanceTest ( return Status; } BBTestSetStateConformanceTestCheckpoint2 ( StandardLib, SimpleTextInputEx ); - + Status = gtBS->FreePool (DevicePathStr); if (EFI_ERROR(Status)) return Status; @@ -483,8 +483,10 @@ BBTestSetStateConformanceTestCheckpoint1 ( ); } } - - if ( EFI_INVALID_PARAMETER != Status) { + + if (Status == EFI_UNSUPPORTED) { + AssertionType = EFI_TEST_ASSERTION_WARNING; + } else if (Status != EFI_INVALID_PARAMETER) { AssertionType = EFI_TEST_ASSERTION_FAILED; } else { AssertionType = EFI_TEST_ASSERTION_PASSED; -- 2.14.1.windows.1