summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorAndLLA <44858649+AndLLA@users.noreply.github.com>2022-11-20 18:52:00 +0100
committerAndLLA <44858649+AndLLA@users.noreply.github.com>2022-11-20 18:52:00 +0100
commit1dd31446ce5e24901b9671927a098e23e40c4651 (patch)
treed12d5bd7875927cef34fc3c98963906ac0ab8ea6 /Examples
parenta88995a11d4031ffac9d8cf3d663f1a83ad4576f (diff)
downloadswig-1dd31446ce5e24901b9671927a098e23e40c4651.tar.gz
more r tests
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/r/template_ref_type_runme.R14
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/test-suite/r/template_ref_type_runme.R b/Examples/test-suite/r/template_ref_type_runme.R
new file mode 100644
index 000000000..2565019d7
--- /dev/null
+++ b/Examples/test-suite/r/template_ref_type_runme.R
@@ -0,0 +1,14 @@
+
+clargs <- commandArgs(trailing=TRUE)
+source(file.path(clargs[1], "unittest.R"))
+#source("unittest.R")
+
+dyn.load(paste("template_ref_type", .Platform$dynlib.ext, sep=""))
+source("template_ref_type.R")
+cacheMetaData(1)
+
+xr = XC()
+y = Y()
+
+unittest(Y_find(y, xr), FALSE)
+