aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-08-14 11:12:38 +0200
committerLoïc Hoguin <[email protected]>2015-08-14 11:26:08 +0200
commite4608d5ac876ad1ae5fa3d1a0660f1ff9ad2840e (patch)
tree7afae1d86ca4ad5d138d06bfaf9228ac70a0f97d /test
parent9dcec593e87f4766cde2ff6486f06de559d3ef65 (diff)
downloaderlang.mk-e4608d5ac876ad1ae5fa3d1a0660f1ff9ad2840e.tar.gz
erlang.mk-e4608d5ac876ad1ae5fa3d1a0660f1ff9ad2840e.tar.bz2
erlang.mk-e4608d5ac876ad1ae5fa3d1a0660f1ff9ad2840e.zip
Fix test Makefile on some platforms
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index f2beb86..2fb7472 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -54,7 +54,7 @@ app: app1
$i "app: Testing the 'app' target."
$t $(MAKE) -C app1 app $v
$i "Checking the modules line in the generated .app file."
- $t [ `grep -E "{modules, *\['m'\]}" app1/ebin/app1.app | wc -l` == 1 ]
+ $t [ `grep -E "{modules, *\['m'\]}" app1/ebin/app1.app | wc -l` -eq 1 ]
$t [ -e app1/ebin/m.beam ]
$i "Checking that '$(MAKE) clean-app' deletes ebin."
$t $(MAKE) -C app1 clean-app $v
@@ -200,7 +200,7 @@ docs: app1
$t [ -e app1/doc/m.md ]
$i "Checking that '$(MAKE) distclean' deletes all generated doc files."
$t $(MAKE) -C app1 -f Makefile-doc distclean $v
- $t [ "`ls app1/doc/`" == "" ]
+ $t [ "`ls app1/doc/`" = "" ]
$i "Cleaning up test data."
$t rm app1/Makefile-doc
$i "Test 'docs' passed."