From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) by mx.groups.io with SMTP id smtpd.web08.85.1619718223040492036 for ; Thu, 29 Apr 2021 10:43:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KMSoX7i1; spf=pass (domain: gmail.com, ip: 209.85.219.49, mailfrom: getnatejigu@gmail.com) Received: by mail-qv1-f49.google.com with SMTP id z1so3176516qvo.4 for ; Thu, 29 Apr 2021 10:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kaSQPPZ7m5vqEsbVMTBNKQkFSEnWIHe8O3mHyEErze4=; b=KMSoX7i1CLBlQ/KHr2gyLIbd5NCEk6Bs0VFzGmR5JTdkmE2xHYBm1YR9PmZyMREsE+ wkvuBV+buswUcD2E+NW6Ds/92dXztXRsO+c2+uZJgLifWxOKPlfH/48fQIFQKkJdh5Vr x+HNwuJFzxYkJ6fFK9q9PB1x/yXFN16qlkOt+Rm61oIOx9C4k59CKlGwzHa60Y9IsK9F sKkdZX2G18a1V3k/BgwEQSkmnMPe7J8/BjIPqjwS+MekUI1dFY9IXqGy7X7KFMAds/pT NAsy1DHIc1alGhKb8kZ6cU7A8UmP862Wk7D6gtPzVWgUl2y61nn4Z09zwJoCgnvGZWxD 8vLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kaSQPPZ7m5vqEsbVMTBNKQkFSEnWIHe8O3mHyEErze4=; b=l/jt6NMViHxSkKN0PKugqsYbcxfaIbvaJR9OJQz4CgokuyjMTkFPuRfd0QA3u6NYAC pmNhndO3eV3J56v8B+CE9rdldfkdYh9Jl/JQe8A/h5c/OkYpwvJ5S1igs3e/z/LT+zyS 4gl09HkKUvNy5oUgC6Ydg3MvORizzPko9ZkaapdQNOKU3AlXi0PvgskHQQ5E1fxuA3IQ Mgn4QYkQeYnj+QRVmAUPhp5HiQIVhSqDMhJjNF9tBJlF/Nag508/nKC22i1qrKC0GLfo sp2+etdype+Nmf76mD4Y5B9UP4Cl27XTPY65zXVC5N18nTuGWWrNpBfZ1TOYl2aWbfeS Xkng== X-Gm-Message-State: AOAM532cVZuf7cxMFdlLCI07ATerFqTHZUnIxHu0qm44eVk6+SXZ4cRq /JqmIDkIQ6Kz1kgIatIN/iZxLS4wxV7oJb+Q X-Google-Smtp-Source: ABdhPJy587Mxv4k4r/swCdL4BUHOxXdFfyxrGv9iV8RyRJLJXU3ShRCi1GC9w6a6SyWuNIXfOsSDqA== X-Received: by 2002:a05:6214:2467:: with SMTP id im7mr1072075qvb.59.1619718221966; Thu, 29 Apr 2021 10:43:41 -0700 (PDT) Return-Path: Received: from localhost.localdomain (ip72-205-56-117.dc.dc.cox.net. [72.205.56.117]) by smtp.gmail.com with ESMTPSA id k15sm430052qke.55.2021.04.29.10.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 10:43:41 -0700 (PDT) From: "Getnat Ejigu" To: devel@edk2.groups.io Cc: Michael D Kinney , Sean Brogan , Bret Barkelew Subject: [PATCH v1 1/1] UnitTestFrameworkPkg: Sample unit test hangs when running in OVMF/QEMU Date: Thu, 29 Apr 2021 13:43:30 -0400 Message-Id: <20210429174330.649415-2-getnatejigu@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429174330.649415-1-getnatejigu@gmail.com> References: <20210429174330.649415-1-getnatejigu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sample unit tests in UnitTestFrameworkPkg hangs when running in OVMF/QEMU environment. Build target is X64/GCC5. Fixing this issue by adding EFIAPI to ReportPrint() function that use VA_ARGS. Signed-off-by: Getnat Ejigu Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew --- UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportL= ibConOut.c | 1 + 1 file changed, 1 insertion(+) diff --git a/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestR= esultReportLibConOut.c b/UnitTestFrameworkPkg/Library/UnitTestResultReportL= ib/UnitTestResultReportLibConOut.c index cfb0c5972bd1..db5402d6a210 100644 --- a/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultRe= portLibConOut.c +++ b/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultRe= portLibConOut.c @@ -12,6 +12,7 @@ #include =0D =0D VOID=0D +EFIAPI=0D ReportPrint (=0D IN CONST CHAR8 *Format,=0D ...=0D --=20 2.25.1