aboutsummaryrefslogtreecommitdiff
path: root/inst/unitTests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inst/unitTests/Makefile')
-rw-r--r--inst/unitTests/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/inst/unitTests/Makefile b/inst/unitTests/Makefile
new file mode 100644
index 0000000..8d13225
--- /dev/null
+++ b/inst/unitTests/Makefile
@@ -0,0 +1,15 @@
+TOP=../..
+PKG=${shell cd ${TOP};pwd}
+SUITE=doRUnit.R
+R=R
+
+all: inst test
+
+inst: # Install package
+ cd ${TOP}/..;\
+ ${R} CMD INSTALL ${PKG}
+
+test: # Run unit tests
+ export RCMDCHECK=FALSE;\
+ cd ${TOP}/tests;\
+ ${R} --vanilla --slave < ${SUITE}

Contact - Imprint