diff --git a/Makefile b/Makefile index ec28547..c48c211 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL := /bin/bash test: - @node test/run.js + @node test/run.js $(type) .PHONY: test diff --git a/test/run.js b/test/run.js index 887fab3..26f53b0 100644 --- a/test/run.js +++ b/test/run.js @@ -1 +1,2 @@ -require('urun')(__dirname); +var path = require('path'); +require('urun')(path.join(__dirname, process.argv[2]));