Diff

makefile @ 9683:bf32f2282b18

makefile: Allow configuring path to busted (to match GNUMakefile)
author Matthew Wild <mwild1@gmail.com>
date Tue, 04 Dec 2018 16:19:58 +0000
parent 9682:814a9d89d2bd
child 10880:324c50ea0f1d
line wrap: on
line diff
--- 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