From patchwork Tue Oct 2 03:12:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 977607 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42PPYS0Bjdz9s55 for ; Tue, 2 Oct 2018 13:20:43 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B915BC21FE0; Tue, 2 Oct 2018 03:16:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D56B6C21FB5; Tue, 2 Oct 2018 03:16:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BBF83C21FBB; Tue, 2 Oct 2018 03:13:59 +0000 (UTC) Received: from mail-it1-f201.google.com (mail-it1-f201.google.com [209.85.166.201]) by lists.denx.de (Postfix) with ESMTPS id 9BB65C21FCA for ; Tue, 2 Oct 2018 03:13:55 +0000 (UTC) Received: by mail-it1-f201.google.com with SMTP id w137-v6so1507032itc.8 for ; Mon, 01 Oct 2018 20:13:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=iCg0d8rUc1aArhfWjImIK4p3bJrXMmKbyRo2VrX+1o4=; b=FNsLJpTFNp3CvFOLntd8bE3uMiiT+9st7yoPTfLDK7HxadKVy7sCzEK77u1ZAnCuAy JJmbwgT5eDIRECkuW5+n4/5Ad7N8RRiO9FV5iJm9r1YHnUQ32Fi3dcvZ86+KM7uwvgCe Etfa2McIvsYYd+wW2DgvfTvyuBFKdacVX1ZIOYS0J5aLLtaNZIjHi/c+FRal44dHshVN bxm37ubofgaAHlsd+yhsSM/DTfV34mDPPXeIdd5OqFewQmuAyyjMPzW+50/mnblBiOIK rwdLAIMSFg71f0QhystuN5abdYbPaJiYnSzuGl57MqMXu+IWnwcE1VSPWeT3Xnip8F/D KrTQ== X-Gm-Message-State: ABuFfoheXWk8bNLqd3HntEbOH35SfpEzgf0pwvNDTbW2Gbx9+uy1SwFO brrikMGvQbNQq5D5SKTM35XZWsc= X-Google-Smtp-Source: ACcGV61mrmJ4CZXmdzFvUoa5IzhigTbec1cvxKZ9qc62AykswPQI5qwj8eEQV6V4TMlsED1azta4CLI= X-Received: by 2002:a24:7543:: with SMTP id y64-v6mr568568itc.20.1538450034530; Mon, 01 Oct 2018 20:13:54 -0700 (PDT) Date: Mon, 1 Oct 2018 21:12:36 -0600 In-Reply-To: <20181002031247.93384-1-sjg@chromium.org> Message-Id: <20181002031247.93384-7-sjg@chromium.org> Mime-Version: 1.0 References: <20181002031247.93384-1-sjg@chromium.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Stephen Warren , Alexander Graf Subject: [U-Boot] [PATCH v2 06/17] Makefile: Add a 'check' target for make X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" At present we use 'make tests' to run the tests. For many projects 'make check' is more common, so support that as well. Also add some help to 'make help'. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v2: None Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6869ac8f547..f578cce3663 100644 --- a/Makefile +++ b/Makefile @@ -1695,6 +1695,10 @@ help: @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @echo '' + @echo 'Test targets:' + @echo '' + @echo ' check - Run all automated tests that use sandbox' + @echo '' @echo 'Other generic targets:' @echo ' all - Build all necessary images depending on configuration' @echo ' tests - Build U-Boot for sandbox and run tests' @@ -1733,7 +1737,7 @@ help: @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' -tests: +tests check: $(srctree)/test/run # Documentation targets