Skip to content
Permalink
Browse files

Have make in basedir run unit tests on all target.

Note: An all_no_test target has been added to bypass unit tests when iterating on code.
  • Loading branch information
daniel-kristjansson committed May 29, 2013
1 parent 0934bd2 commit 367ace5455a128a9189b2f6e87ae1ce0ca0b6d67
Showing with 4 additions and 2 deletions.
  1. +4 −2 mythtv/Makefile
@@ -25,9 +25,11 @@ SUBDIRS += $(MAKE_SUBDIRS) $(QT_SUBDIRS)
uninstall $(addsuffix _uninstall,$(SUBDIRS)) \
libs/libmythbase/version.h force

all: libs/libmythbase/version.h subdirs
all: all_no_test test
force:

all_no_test: libs/libmythbase/version.h subdirs

config.mak:
$(error run configure to create $@)

@@ -94,5 +96,5 @@ uninstall: $(addsuffix _uninstall,$(SUBDIRS))
-rmdir $(INSTALL_ROOT)/${PREFIX}/lib/mythtv
-rmdir $(INSTALL_ROOT)/${PREFIX}/share/mythtv

test:
test: libs/libmythbase/version.h subdirs
-cd libs ; $(MAKE) test

0 comments on commit 367ace5

Please sign in to comment.
You can’t perform that action at this time.