Revert "Merge pull request #494 from richardbeare/enumR2015B"
This reverts commitcb8973f313, reversing changes made toac3284f78c.
This commit is contained in:
parent
cb8973f313
commit
834a93f449
14 changed files with 1057 additions and 1064 deletions
|
|
@ -5,7 +5,7 @@
|
|||
LANGUAGE = r
|
||||
SCRIPTSUFFIX = _runme.R
|
||||
WRAPSUFFIX = .R
|
||||
RUNR = R CMD BATCH --no-save --no-restore '--args $(SCRIPTDIR)'
|
||||
RUNR = R CMD BATCH --no-save --no-restore
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
|
@ -44,7 +44,6 @@ include $(srcdir)/../common.mk
|
|||
+$(swig_and_compile_multi_cpp)
|
||||
$(run_multitestcase)
|
||||
|
||||
|
||||
# Runs the testcase.
|
||||
#
|
||||
# Run the runme if it exists. If not just load the R wrapper to
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("arrays_dimensionless", .Platform$dynlib.ext, sep=""))
|
||||
source("arrays_dimensionless.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("funcptr", .Platform$dynlib.ext, sep=""))
|
||||
source("funcptr.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("ignore_parameter", .Platform$dynlib.ext, sep=""))
|
||||
source("ignore_parameter.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("integers", .Platform$dynlib.ext, sep=""))
|
||||
source("integers.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("overload_method", .Platform$dynlib.ext, sep=""))
|
||||
source("overload_method.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
dyn.load(paste("preproc_constants", .Platform$dynlib.ext, sep=""))
|
||||
source("preproc_constants.R")
|
||||
cacheMetaData(1)
|
||||
|
||||
v <- enumToInteger('kValue', '_MyEnum')
|
||||
print(v)
|
||||
unittest(v,4)
|
||||
q(save="no")
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("r_copy_struct", .Platform$dynlib.ext, sep=""))
|
||||
source("r_copy_struct.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("r_legacy", .Platform$dynlib.ext, sep=""))
|
||||
source("r_legacy.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("r_sexp", .Platform$dynlib.ext, sep=""))
|
||||
source("r_sexp.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
|
||||
source("unittest.R")
|
||||
dyn.load(paste("rename_simple", .Platform$dynlib.ext, sep=""))
|
||||
source("rename_simple.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
source("unittest.R")
|
||||
dyn.load(paste("simple_array", .Platform$dynlib.ext, sep=""))
|
||||
source("simple_array.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
clargs <- commandArgs(trailing=TRUE)
|
||||
source(file.path(clargs[1], "unittest.R"))
|
||||
source("unittest.R")
|
||||
dyn.load(paste("unions", .Platform$dynlib.ext, sep=""))
|
||||
source("unions.R")
|
||||
cacheMetaData(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue