Permalink
Browse files

Add `make test`

  • Loading branch information...
1 parent 7df4c19 commit 9490df661769efc1293a8c95a8586b1affa85403 @alexkay alexkay committed Feb 9, 2012
Showing with 7 additions and 1 deletion.
  1. +5 −0 Makefile.am
  2. +2 −1 configure.ac
View
@@ -8,3 +8,8 @@ endif
if ENABLE_RELEASE
SUBDIRS = src/Mono.Ssdp/Mono.Ssdp src/Mono.Upnp src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1 tests
endif
+
+.PHONY: test
+
+test: all
+ (cd bin; $(NUNIT_CMD) *.Tests.dll)
View
@@ -53,7 +53,8 @@ PKG_CHECK_MODULES([MONO_ADDINS], [mono-addins])
PKG_CHECK_MODULES([TAGLIB_SHARP], [taglib-sharp])
PKG_CHECK_MODULES([NUNIT], [nunit])
-dnl package checks, per config
+AC_PATH_PROG(NUNIT_CMD, nunit-console2, nunit-console)
+AC_SUBST(NUNIT_CMD)
AC_CONFIG_FILES([

0 comments on commit 9490df6

Please sign in to comment.