From d49438659d920718fa2fe7f9ce2c5665a62c9d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 19 Apr 2016 15:57:18 +0200 Subject: Integrate vis-test git submodule --- .gitmodules | 3 +++ Makefile | 10 +++++++++- README.md | 6 +++--- test | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 160000 test diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..625502b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "test"] + path = test + url = https://github.com/martanne/vis diff --git a/Makefile b/Makefile index adf7fbc..86771a5 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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 diff --git a/README.md b/README.md index 515ff21..d4aa2b7 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/test b/test new file mode 160000 index 0000000..c62e3e2 --- /dev/null +++ b/test @@ -0,0 +1 @@ +Subproject commit c62e3e2a864475a9a1f83c38c738def56b20849d -- cgit v1.2.3