You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2023/07/13 09:33:16 UTC

[couchdb] branch nouveau-elixir-conditional created (now 5df7fee19)

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a change to branch nouveau-elixir-conditional
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 5df7fee19 Conditionally exclude nouveau from elixir make target

This branch includes the following new commits:

     new 5df7fee19 Conditionally exclude nouveau from elixir make target

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Conditionally exclude nouveau from elixir make target

Posted by rn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch nouveau-elixir-conditional
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 5df7fee19bb4d7b17f6bda692e3a76b68f7ac978
Author: Robert Newson <rn...@apache.org>
AuthorDate: Thu Jul 13 10:13:26 2023 +0100

    Conditionally exclude nouveau from elixir make target
---
 Makefile                          | 8 ++++++--
 test/elixir/test/nouveau_test.exs | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 1615cac67..8cd1d6f68 100644
--- a/Makefile
+++ b/Makefile
@@ -236,6 +236,11 @@ python-black-update: .venv/bin/black
 		--exclude="build/|buck-out/|dist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|src/rebar/pr2relnotes.py|src/fauxton" \
 		build-aux/*.py dev/run src/mango/test/*.py src/docs/src/conf.py src/docs/ext/*.py .
 
+-include install.mk
+ifeq ($(with_nouveau), 0)
+  exclude_nouveau=--exclude nouveau
+endif
+
 .PHONY: elixir
 elixir: export MIX_ENV=integration
 elixir: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
@@ -243,7 +248,7 @@ elixir: elixir-init devclean
 	@dev/run "$(TEST_OPTS)" -a adm:pass -n 1 \
 		--enable-erlang-views \
 		--locald-config test/elixir/test/config/test-config.ini \
-		--no-eval 'mix test --trace --exclude without_quorum_test --exclude with_quorum_test $(EXUNIT_OPTS)'
+		--no-eval 'mix test --trace --exclude without_quorum_test --exclude with_quorum_test $(exclude_nouveau) $(EXUNIT_OPTS)'
 
 .PHONY: elixir-init
 elixir-init: MIX_ENV=integration
@@ -405,7 +410,6 @@ dist: all derived
 
 .PHONY: release
 # target: release - Create an Erlang release including CouchDB!
--include install.mk
 release: all
 	@echo "Installing CouchDB into rel/couchdb/ ..."
 	@rm -rf rel/couchdb
diff --git a/test/elixir/test/nouveau_test.exs b/test/elixir/test/nouveau_test.exs
index ad48e58ea..2a8bc513f 100644
--- a/test/elixir/test/nouveau_test.exs
+++ b/test/elixir/test/nouveau_test.exs
@@ -1,7 +1,7 @@
 defmodule NouveauTest do
   use CouchTestCase
 
-  @moduletag :search
+  @moduletag :nouveau
 
   @moduledoc """
   Test search