diff options
author | Loïc Hoguin <[email protected]> | 2015-09-11 18:14:11 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-11 18:14:11 +0200 |
commit | fcaf53ed884074a08e87abd540e8bfaecca0119f (patch) | |
tree | 87e99674d2174c961bf34d7b9e15b61f0e1d2f2f /test | |
parent | 79d3bb3ef7902411a544d8fc4d108cdfb88f4251 (diff) | |
download | erlang.mk-fcaf53ed884074a08e87abd540e8bfaecca0119f.tar.gz erlang.mk-fcaf53ed884074a08e87abd540e8bfaecca0119f.tar.bz2 erlang.mk-fcaf53ed884074a08e87abd540e8bfaecca0119f.zip |
Fix plugin tests under CI
Also make git commands quiet.
Diffstat (limited to 'test')
-rw-r--r-- | test/core_plugins.mk | 14 |
1 files 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 "[email protected]" && \ + 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 "[email protected]" && \ + 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\ |