From patchwork Sun Jan 15 21:10:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 9517865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98532600F6 for ; Sun, 15 Jan 2017 21:15:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58CC326CF9 for ; Sun, 15 Jan 2017 21:15:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B31F28410; Sun, 15 Jan 2017 21:15:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CE7F026CF9 for ; Sun, 15 Jan 2017 21:15:38 +0000 (UTC) Received: from localhost ([::1]:52964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSs9J-0001wa-K5 for patchwork-qemu-devel@patchwork.kernel.org; Sun, 15 Jan 2017 16:15:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSs4k-00068H-MF for qemu-devel@nongnu.org; Sun, 15 Jan 2017 16:10:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSs4j-0002pz-VB for qemu-devel@nongnu.org; Sun, 15 Jan 2017 16:10:54 -0500 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:36248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSs4j-0002pb-P9 for qemu-devel@nongnu.org; Sun, 15 Jan 2017 16:10:53 -0500 Received: by mail-pf0-x243.google.com with SMTP id 19so2047604pfo.3 for ; Sun, 15 Jan 2017 13:10:53 -0800 (PST) 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; bh=j6yxwMJXzwrirtGvmTAbJLKAkVEi6JQeb0YMCPWCSHc=; b=b9wiDDf73zauXMhy2IPQrGcQy8FVmFlHwxK+S13ikeKsDBUuZk+HAfyUJhAL/CR861 D9KIGeXybt4HJU8sgNwBZ4LzQZyg3GXJ7Uaoc9uNrQuJCJS7EvEEUl+eyZhWFXST7ZER AFtrw18qBc5iRA0dyFim33tHdEaRD5057R7ZGRaXczIC48zppAGs4LlGVLMMa+DibdeD jtZr0DX/UANw9PFeCDkU7e7DpVFOdJGVtO0rYpqpfATULV33QiECu4wMpeJZ+MwbwnfH 2jZP53+eHQ9eD42SOhilBcFB6qu0rpcYGQwaZqNDcMc86BswcsK/gqVJ+cOaDqRMFxsq LZiA== 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; bh=j6yxwMJXzwrirtGvmTAbJLKAkVEi6JQeb0YMCPWCSHc=; b=EdRlruqUYyKNEqkTVs7/3v0qxXuiIuKF0yJn/cAx+Rml78IcCsoXRoxtwaASKXo5xe KZ/siWqLuj+5XCLlcW6dZHncts/IkKzcO5HBnXd+v/v0YjKvxAXFG7rFyz5rGZY1FOR+ jXmFftcjSvuGkWXyz90Isceqy3W+Qu7i6XiMXCGBeAD9MD8Kd2v8X4w2f81OfO2sqJ+N Bl0LxHAsPYqLycax0HesVSkTuO2LghCwI+EXeOQCbLyFiCl8H0ytgqdBldo+xJHNa5av 6W/C9ESQogv/Q2Q5Gjn3eyOClDNGfPcvS4l2iHF0iYfV0/c5DiLnm4aDb4i5pHYw/LgK Hotg== X-Gm-Message-State: AIkVDXLKif1r7V2CVAF9SkBzTuuH+M6lQvymEVuuVX3pmSjfRwiygKpcLa/OBY/IKI1spA== X-Received: by 10.84.232.201 with SMTP id x9mr45602242plm.102.1484514653067; Sun, 15 Jan 2017 13:10:53 -0800 (PST) Received: from octofox.net (c-73-202-152-109.hsd1.ca.comcast.net. [73.202.152.109]) by smtp.gmail.com with ESMTPSA id y15sm42626323pgc.43.2017.01.15.13.10.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Jan 2017 13:10:52 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Sun, 15 Jan 2017 13:10:14 -0800 Message-Id: <1484514617-11726-5-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1484514617-11726-1-git-send-email-jcmvbkbc@gmail.com> References: <1484514617-11726-1-git-send-email-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PATCH 4/7] target/xtensa: tests: run tests with icount X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Timer tests expect certain determinism in CCOUNT updates and timer interrupts firing. Run QEMU with -icount to get deterministic results. Signed-off-by: Max Filippov --- tests/tcg/xtensa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile index 7f9f2d9..2882c43 100644 --- a/tests/tcg/xtensa/Makefile +++ b/tests/tcg/xtensa/Makefile @@ -5,7 +5,7 @@ CROSS=xtensa-$(CORE)-elf- ifndef XT SIM = ../../../xtensa-softmmu/qemu-system-xtensa -SIMFLAGS = -M sim -cpu $(CORE) -nographic -semihosting $(EXTFLAGS) -kernel +SIMFLAGS = -M sim -cpu $(CORE) -nographic -semihosting -icount 7 $(EXTFLAGS) -kernel SIMDEBUG = -s -S else SIM = xt-run