aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Reed <Pyrohh@users.noreply.github.com>2015-11-30 16:06:56 -0500
committerMichael Reed <Pyrohh@users.noreply.github.com>2015-11-30 16:06:56 -0500
commitda9cf043a64c540afa584569c5434e2f5b7d6a90 (patch)
tree0cf37a8ee803edad5c3dce70d7122a62d9ad94f6
parent7d42e9b7e8169da45e32c415babc27b197a26f8a (diff)
parent54b0c09685096d583638c1bd5cceac9055e9d8be (diff)
downloadrneovim-da9cf043a64c540afa584569c5434e2f5b7d6a90.tar.gz
rneovim-da9cf043a64c540afa584569c5434e2f5b7d6a90.tar.bz2
rneovim-da9cf043a64c540afa584569c5434e2f5b7d6a90.zip
Merge pull request #3751 from Pyrohh/make_test
[RFC] Make `make test` run unit tests too
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 343307eb2b..1fc15e1312 100644
--- a/Makefile
+++ b/Makefile
@@ -89,14 +89,14 @@ functionaltest: | nvim
testlint: | nvim
$(BUILD_CMD) -C build testlint
-test: functionaltest
-
unittest: | nvim
+$(BUILD_CMD) -C build unittest
benchmark: | nvim
+$(BUILD_CMD) -C build benchmark
+test: functionaltest unittest
+
clean:
+test -d build && $(BUILD_CMD) -C build clean || true
$(MAKE) -C src/nvim/testdir clean