Browse Source

Makefile: Add 'make test'

Georgi Chorbadzhiyski 6 years ago
parent
commit
8cced6de0c
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Makefile

+ 4
- 1
Makefile View File

@@ -51,7 +51,7 @@ videohubctrl_OBJS = $(FUNCS_LIB) $(videohubctrl_SRC:.c=.o)
51 51
 CLEAN_OBJS = videohubctrl $(videohubctrl_SRC:.c=.o) $(videohubctrl_SRC:.c=.d) test/*.out
52 52
 DISTCLEAN_OBJS = version.h
53 53
 
54
-.PHONY: distclean clean version install uninstall
54
+.PHONY: distclean clean version install uninstall test
55 55
 
56 56
 PROGS=videohubctrl
57 57
 
@@ -65,6 +65,9 @@ videohubctrl: $(videohubctrl_OBJS)
65 65
 
66 66
 all: version
67 67
 
68
+test:
69
+	test/run
70
+
68 71
 $(FUNCS_LIB): $(FUNCS_DIR)/libfuncs.h
69 72
 	$(SAY) "  MAKE	$(FUNCS_LIB)"
70 73
 	$(Q)$(MAKE) -s -C $(FUNCS_DIR)

Loading…
Cancel
Save