Skip to content

Commit 1564afa

Browse files
committed
run unit and integration tests separately in Makefile
1 parent 05dc22c commit 1564afa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

facebook/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ lint: coverage
144144
test: delphiFacebook_1.0.tar.gz
145145
if [ ! -f params.json ]; then cp params.json.template params.json; fi
146146
grep testthat params.json
147-
R CMD check $<
147+
R CMD check --test-dir=unit-tests $<
148+
R CMD check --test-dir=integration-tests $<
148149

149150
delphiFacebook_1.0.tar.gz: $(wildcard delphiFacebook/R/*.R)
150151
R CMD build delphiFacebook

0 commit comments

Comments
 (0)