From fde3421cfe951c0e4be23043010987b79f5fadcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Tue, 15 Nov 2011 09:27:10 +0100 Subject: [PATCH] Allow running only particular tests --- Makefile | 2 +- test/run.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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]));