makefile: Allow configuring path to busted (to match GNUMakefile)
authorMatthew Wild <mwild1@gmail.com>
Tue, 04 Dec 2018 16:19:58 +0000
changeset 9687 bf32f2282b18
parent 9686 814a9d89d2bd
child 9688 b2d6b79c9513
makefile: Allow configuring path to busted (to match GNUMakefile)
makefile
--- a/makefile	Tue Dec 04 16:19:08 2018 +0000
+++ b/makefile	Tue Dec 04 16:19:58 2018 +0000
@@ -20,6 +20,7 @@
 MKDIR_PRIVATE=$(MKDIR) -m750
 
 LUACHECK=luacheck
+BUSTED=busted
 
 .PHONY: all test clean install
 
@@ -76,7 +77,7 @@
 	shellcheck configure
 
 test:
-	busted --lua=$(RUNWITH)
+	$(BUSTED) --lua=$(RUNWITH)
 
 
 prosody.install: prosody