aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_cover.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-09-15 22:21:47 +0200
committerLoïc Hoguin <[email protected]>2017-09-15 22:21:47 +0200
commitb0623a2803acb1c59b1bde10343ca9826f67b759 (patch)
tree5a986f93be58eb94c13951f80d0cf7a330de96fc /test/plugin_cover.mk
parent6a764de5ff077a566b7865d0a7a8f3c4c9b0c042 (diff)
downloaderlang.mk-b0623a2803acb1c59b1bde10343ca9826f67b759.tar.gz
erlang.mk-b0623a2803acb1c59b1bde10343ca9826f67b759.tar.bz2
erlang.mk-b0623a2803acb1c59b1bde10343ca9826f67b759.zip
Fix removal of COVER_DATA_DIR if not empty
Diffstat (limited to 'test/plugin_cover.mk')
-rw-r--r--test/plugin_cover.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/plugin_cover.mk b/test/plugin_cover.mk
index 905e6d2..c9ba3d7 100644
--- a/test/plugin_cover.mk
+++ b/test/plugin_cover.mk
@@ -84,6 +84,12 @@ cover-custom-dir: build clean
$t $(MAKE) -C $(APP) distclean $v
$t test ! -e $(APP)/custom_dir/
+ $i "Check that the custom dir is not removed if not empty"
+ $t mkdir $(APP)/custom_dir
+ $t touch $(APP)/custom_dir/file
+ $t $(MAKE) -C $(APP) distclean $v
+ $t test -f $(APP)/custom_dir/file
+
cover-eunit: build clean
$i "Bootstrap a new OTP application named $(APP)"