From patchwork Sun Jul 15 16:34:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Steffen_G=C3=B6rtz?= X-Patchwork-Id: 10525101 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 F1F72602B3 for ; Sun, 15 Jul 2018 16:35:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE90C28429 for ; Sun, 15 Jul 2018 16:35:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF78928926; Sun, 15 Jul 2018 16:35:19 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 BF4A82891F for ; Sun, 15 Jul 2018 16:35:18 +0000 (UTC) Received: from localhost ([::1]:46174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fejzR-0001Tb-DP for patchwork-qemu-devel@patchwork.kernel.org; Sun, 15 Jul 2018 12:35:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fejyP-0000oJ-7I for qemu-devel@nongnu.org; Sun, 15 Jul 2018 12:34:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fejyM-0007QR-Cn for qemu-devel@nongnu.org; Sun, 15 Jul 2018 12:34:13 -0400 Received: from steffen-goertz.de ([88.198.119.201]:56806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fejyM-0007Nz-5N for qemu-devel@nongnu.org; Sun, 15 Jul 2018 12:34:10 -0400 Received: from localhost.localdomain (p508EFB2D.dip0.t-ipconnect.de [80.142.251.45]) by steffen-goertz.de (Postfix) with ESMTPSA id CACAB4A614; Sun, 15 Jul 2018 18:32:00 +0200 (CEST) From: =?UTF-8?q?Steffen=20G=C3=B6rtz?= To: qemu-devel@nongnu.org Date: Sun, 15 Jul 2018 18:34:04 +0200 Message-Id: <20180715163404.10077-2-contrib@steffen-goertz.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715163404.10077-1-contrib@steffen-goertz.de> References: <20180715163404.10077-1-contrib@steffen-goertz.de> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 88.198.119.201 Subject: [Qemu-devel] [RFC 2/2] arm: Add nRF51 GPIO tests 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: Peter Maydell , Jim Mussared , Stefan Hajnoczi , =?UTF-8?q?Steffen=20G=C3=B6rtz?= , Joel Stanley , Julia Suvorova Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Steffen Görtz --- Test stubs for GIPO. Tests will follow in v2. tests/microbit-test.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/microbit-test.c b/tests/microbit-test.c index c502ee3976..a1e2f67855 100644 --- a/tests/microbit-test.c +++ b/tests/microbit-test.c @@ -101,6 +101,12 @@ static void test_nrf51_nvmc(void) } } +static void test_nrf51_gpio(void) +{ + /* TODO add tests for GPIO */ + g_assert_true(false); +} + int main(int argc, char **argv) { int ret; @@ -110,6 +116,7 @@ int main(int argc, char **argv) global_qtest = qtest_startf("-machine microbit"); qtest_add_func("/microbit/nrf51/nvmc", test_nrf51_nvmc); + qtest_add_func("/microbit/nrf51/gpio", test_nrf51_gpio); ret = g_test_run();