Skip to content

Commit

Permalink
Integrate vis-test git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Apr 19, 2016
1 parent b2ec2cd commit d494386
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "test"]
path = test
url = https://github.com/martanne/vis
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ debug: clean
profile: clean
@$(MAKE) CFLAGS_VIS='${DEBUG_CFLAGS_VIS} -pg'

test-update:
git submodule init
git submodule update --remote --rebase

test:
[ -d test ] || $(MAKE) test-update
@$(MAKE) -C test

clean:
@echo cleaning
@rm -f vis vis-${VERSION}.tar.gz
Expand Down Expand Up @@ -91,4 +99,4 @@ uninstall:
@echo removing support files from ${DESTDIR}${SHAREPREFIX}/vis
@rm -rf ${DESTDIR}${SHAREPREFIX}/vis

.PHONY: all clean dist install uninstall debug profile
.PHONY: all clean dist install uninstall debug profile test test-update
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ A quick overview over the code structure to get you started:
`visrc.lua` | Lua startup and configuration script

Testing infrastructure for the [low level core data structures]
(https://github.com/martanne/vis/tree/test/test/core), [vim compatibility]
(https://github.com/martanne/vis/tree/test/test/vim) and [vis specific features]
(https://github.com/martanne/vis/tree/test/test/vis) is in place, but
(https://github.com/martanne/vis-test/tree/master/core), [vim compatibility]
(https://github.com/martanne/vis-test/tree/master/vim) and [vis specific features]
(https://github.com/martanne/vis-test/tree/master/vis) is in place, but
lacks proper test cases.
1 change: 1 addition & 0 deletions test
Submodule test added at c62e3e

0 comments on commit d494386

Please sign in to comment.