Changeset

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
parents 9682:814a9d89d2bd
children 9684:b2d6b79c9513
files makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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