From patchwork Fri Dec 21 08:13:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 66 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F39460B0C for ; Fri, 21 Dec 2018 09:13:20 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AA750558; Fri, 21 Dec 2018 09:13:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1545379999; bh=ZRIDG9sbqPu0dbHQEDfXYSxehMGaHnvu2WQaAxr88bc=; h=From:To:Cc:Subject:Date:From; b=RAqU0Ae33aWcwTaPqGK9gD8RUOPFsoQ+HtjT3j7Ljgv4eVihndXxog8xINIwl+Q9d My6DyXw+XkKx5BQznNRtRTuGRT483P6ctwtlxKS2zaR0QNIavP23m90p/SM07W5a32 9+y5VayFByFBI1QhiOpQdGLd3UsbXEfDw2AlkAtI= From: Kieran Bingham To: LibCamera Devel Date: Fri, 21 Dec 2018 08:13:06 +0000 Message-Id: <20181221081311.3291-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH 0/5] test: Define libtest X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2018 08:13:20 -0000 Define a libtest folder structure, adding appropriate return codes to match the meson test infrastructure. Then fix the base class to SKIP tests that return TEST_SKIPPED in their init stage. Appended to this series is a small fix to checkstyle to add an extra flag, and remove extraneous description from our top level meson.build file. Kieran Bingham (5): test: Move test objects to libtest test: libtest: Add test return codes test: libtest: Return all non-zero init values utils: checkstyle: add keep-one-line-blocks meson: Shorten project description meson.build | 2 +- test/libtest/meson.build | 7 +++++++ test/{ => libtest}/test.cpp | 2 +- test/{ => libtest}/test.h | 4 ++++ test/meson.build | 20 ++++++++++++++------ utils/checkstyle.py | 1 + 6 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 test/libtest/meson.build rename test/{ => libtest}/test.cpp (95%) rename test/{ => libtest}/test.h (89%)