From commits-return-32390-archive-asf-public=cust-asf.ponee.io@couchdb.apache.org Fri Mar 9 13:47:40 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7860B180676 for ; Fri, 9 Mar 2018 13:47:40 +0100 (CET) Received: (qmail 90959 invoked by uid 500); 9 Mar 2018 12:47:39 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 90934 invoked by uid 99); 9 Mar 2018 12:47:39 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2018 12:47:39 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E860C8060C; Fri, 9 Mar 2018 12:47:38 +0000 (UTC) Date: Fri, 09 Mar 2018 12:47:39 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] 01/02: feat: allow eunit to run without setup or make all MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: jan@apache.org In-Reply-To: <152059965881.29044.13484881395719561526@gitbox.apache.org> References: <152059965881.29044.13484881395719561526@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 1b21587c16ffab621def35888cf4558defd59b06 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180309124738.E860C8060C@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. jan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 1b21587c16ffab621def35888cf4558defd59b06 Author: Jan Lehnardt AuthorDate: Fri Mar 9 11:36:33 2018 +0100 feat: allow eunit to run without setup or make all --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index ed8fc63..006ad54 100644 --- a/Makefile +++ b/Makefile @@ -116,6 +116,17 @@ eunit: couch @$(REBAR) setup_eunit 2> /dev/null @$(REBAR) -r eunit $(EUNIT_OPTS) + +setup-eunit: export BUILDDIR = $(shell pwd) +setup-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config +setup-eunit: + @$(REBAR) setup_eunit 2> /dev/null + +just-eunit: export BUILDDIR = $(shell pwd) +just-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config +just-eunit: + @$(REBAR) -r eunit $(EUNIT_OPTS) + .PHONY: soak-eunit soak-eunit: export BUILDDIR = $(shell pwd) soak-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config -- To stop receiving notification emails like this one, please contact jan@apache.org.