From 5a0c02d1c183c55ab6ad01ee336d25071e9b0b25 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 16:43:10 -0500 Subject: add test target --- .gitmodules | 2 +- Makefile | 3 +++ test | 1 - tests | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) delete mode 160000 test create mode 160000 tests diff --git a/.gitmodules b/.gitmodules index 6c69bdbd..2b241c0a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "test"] - path = test + path = tests url = git@github.com:jkaivo/libc-tests.git diff --git a/Makefile b/Makefile index f553f42c..7f069af5 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ $(TOPDIR)/.headers.mk: $(TOPDIR)/mk.sh headers $(INCDIR): $(TOPDIR)/.headers.mk $(TOPDIR)/mkh.sh $(MAKE) -f $(TOPDIR)/.headers.mk headers +test: + cd tests && $(MAKE) && ./testlibc + ctags: ctags $$(find src -name \*.c) diff --git a/test b/test deleted file mode 160000 index 7551fd06..00000000 --- a/test +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7551fd06be130a02411b775e9bf8a9f995a12968 diff --git a/tests b/tests new file mode 160000 index 00000000..7551fd06 --- /dev/null +++ b/tests @@ -0,0 +1 @@ +Subproject commit 7551fd06be130a02411b775e9bf8a9f995a12968 -- cgit v1.2.1