aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@gmail.com>2017-05-23 01:03:10 +0200
committerMichał Łyszczek <michal.lyszczek@gmail.com>2017-05-23 01:03:10 +0200
commit9cc424054e5c7b50774bc66399989d0541983dd0 (patch)
tree99b2d409feae130cab39f4c9867146720f89e75e
parentec19e3444a8280388743a99c66c95ddf75ecd5a5 (diff)
downloadmtest-9cc424054e5c7b50774bc66399989d0541983dd0.tar.gz
mtest-9cc424054e5c7b50774bc66399989d0541983dd0.tar.bz2
mtest-9cc424054e5c7b50774bc66399989d0541983dd0.zip
Added simple readme and makefile for installation
-rw-r--r--Makefile4
-rw-r--r--readme.md7
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2e6e4be
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+DESTDIR ?= "/usr/local"
+
+install:
+ install -m 0644 -D -t $(DESTDIR)/include mtest.h
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..11b2d2f
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,7 @@
+About
+=====
+
+mtest - macro test (or micro test), is a very small unit test framework. Really
+small, it contains only single header file with macros only. mtest outputs test
+results in TAP (https://testanything.org/) format, so it can be piped to
+anything (like automake or jenkins) for even nicer output.