Add Rscript to CMake test as well

This commit is contained in:
Ian Bell
2016-04-08 17:41:22 -06:00
parent 074f83eda7
commit 2014d89d7c

View File

@@ -1070,7 +1070,7 @@ if (COOLPROP_R_MODULE)
install (TARGETS ${app_name} DESTINATION R/${CMAKE_SYSTEM_NAME}_${BITNESS}bit)
enable_testing()
add_test(R_test ${R_EXEC} -f Example.R)
add_test(R_test Rscript --default-packages=methods -f Example.R)
endif()