aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--Makefile10
-rw-r--r--README.md6
m---------test6
4 files changed, 21 insertions, 4 deletions
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
+Subproject c62e3e2a864475a9a1f83c38c738def56b20849