From fcaf53ed884074a08e87abd540e8bfaecca0119f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 11 Sep 2015 18:14:11 +0200 Subject: Fix plugin tests under CI Also make git commands quiet. --- test/core_plugins.mk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/core_plugins.mk b/test/core_plugins.mk index 632585a..5bbee3f 100644 --- a/test/core_plugins.mk +++ b/test/core_plugins.mk @@ -29,7 +29,12 @@ core-plugins-all: build clean-core-plugins-all $t printf "%s\n" "include \$$(THIS)/mk/plugin2.mk" >> $(APP)/plugin_dep/plugins.mk # We check that overriding THIS doesn't cause an error. $t echo "THIS :=" >> $(APP)/plugin_dep/plugins.mk - $t cd $(APP)/plugin_dep && git init && git add . && git commit -m "Tests" + $t cd $(APP)/plugin_dep && \ + git init -q && \ + git config user.email "testsuite@erlang.mk" && \ + git config user.name "test suite" && \ + git add . && \ + git commit -q -m "Tests" $i "Add dependency and plugins to the Makefile" $t sed -i.bak '2i\ @@ -60,7 +65,12 @@ core-plugins-one: build clean-core-plugins-one $t printf "%s\n" "include \$$(THIS)/mk/plugin2.mk" >> $(APP)/plugin_dep/plugins.mk # We check that overriding THIS doesn't cause an error. $t echo "THIS :=" >> $(APP)/plugin_dep/plugins.mk - $t cd $(APP)/plugin_dep && git init && git add . && git commit -m "Tests" + $t cd $(APP)/plugin_dep && \ + git init -q && \ + git config user.email "testsuite@erlang.mk" && \ + git config user.name "test suite" && \ + git add . && \ + git commit -q -m "Tests" $i "Add dependency and plugins to the Makefile" $t sed -i.bak '2i\ -- cgit v1.2.3