[graalvm-users] Testing polyglot libs
eregontp at gmail.com
Thu Jun 14 10:37:39 PDT 2018
Note that one way to avoid MinitTest creating multiple threads is to give
it `N=0` like
$ N=0 ruby -Xsingle_threaded=true mytest.rb
I checked and this seems to work fine with GraalVM RC2 and minitest 5.10.1
(bundled) and 5.11.3 (latest).
On Thu, Jun 14, 2018 at 5:25 PM, Rodrigo Botafogo <
rodrigo.a.botafogo at gmail.com> wrote:
> I'm trying to set up testing for my polyglot lib and I'm having a hard
> time. Sorry if I should post somewhere else...
> So I tried to test with rspec, but rspec will run ruby somehow and does
> not pass to ruby the --polyglot --jvm flags. Polyglot complains that R is
> not a known language. I've googled around and could not find an easy way
> to make rspec pass flags to ruby.
> Next I tried minitest, since in this case I call ruby directly with the
> required flags... but polyglot complains that R cannot execute in
> multithreaded, so I passed -Xsingle_threaded to ruby and minitest complains
> that it only runs in a multithreaded environment.
> Any suggestions how to move forward?
> Rodrigo Botafogo
> GraalVM-Users mailing list
> GraalVM-Users at oss.oracle.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the GraalVM-Users