aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-30 17:59:17 +0200
committerLoïc Hoguin <[email protected]>2019-06-30 17:59:17 +0200
commit57876f7b1089834d7f5a9b444c8609a1ae6b0336 (patch)
tree844e69880d1ad980c336bfc326c719e5a5eeafc9
parentfcb8a57bca12b43a25f113678fe81ad79a8d6d1a (diff)
downloaderlang.mk-57876f7b1089834d7f5a9b444c8609a1ae6b0336.tar.gz
erlang.mk-57876f7b1089834d7f5a9b444c8609a1ae6b0336.tar.bz2
erlang.mk-57876f7b1089834d7f5a9b444c8609a1ae6b0336.zip
Tweak a check in ct tests to make it work on Make 3.82
Getting: Nothing to be done for `ct' Instead of, in later versions: Nothing to be done for 'ct' Only check for the start of the sentence instead.
-rw-r--r--test/plugin_ct.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plugin_ct.mk b/test/plugin_ct.mk
index 381eb5a..6c31f49 100644
--- a/test/plugin_ct.mk
+++ b/test/plugin_ct.mk
@@ -14,7 +14,7 @@ ct-all: init
$t $(MAKE) -C $(APP) -f erlang.mk bootstrap $v
$i "Check that Common Test detects no tests"
- $t $(MAKE) -C $(APP) ct | grep -c "Nothing to be done for 'ct'." | grep -q 1
+ $t $(MAKE) -C $(APP) ct | grep -c "Nothing to be done for" | grep -q 1
$i "Generate a Common Test suite"
$t mkdir $(APP)/test
@@ -103,7 +103,7 @@ ct-apps-only: init
"random_int() -> 4." > $(APP)/apps/my_lib_only/src/my_lib_only.erl
$i "Check that Common Test detects no tests"
- $t $(MAKE) -C $(APP) ct | grep -c "Nothing to be done for 'ct'." | grep -q 2
+ $t $(MAKE) -C $(APP) ct | grep -c "Nothing to be done for" | grep -q 2
$i "Generate a Common Test suite in my_app_only"
$t mkdir $(APP)/apps/my_app_only/test