<div dir="ltr">Note that one way to avoid MinitTest creating multiple threads is to give it `N=0` like<div><br></div><div>$ N=0 ruby -Xsingle_threaded=true mytest.rb</div><div><br></div><div>I checked and this seems to work fine with GraalVM RC2 and minitest 5.10.1 (bundled) and 5.11.3 (latest).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 14, 2018 at 5:25 PM, Rodrigo Botafogo <span dir="ltr">&lt;<a href="mailto:rodrigo.a.botafogo@gmail.com" target="_blank">rodrigo.a.botafogo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I&#39;m trying to set up testing for my polyglot lib and I&#39;m having a hard time.  Sorry if I should post somewhere else...</div><div><br></div><div>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&#39;ve googled around and could not find an easy way to make rspec pass flags to ruby.  </div><div><br></div><div>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.</div><div><br></div><div>Any suggestions how to move forward?</div><div><br></div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_1500241590509904320gmail_signature">Rodrigo Botafogo<br></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
GraalVM-Users mailing list<br>
<a href="mailto:GraalVM-Users@oss.oracle.com">GraalVM-Users@oss.oracle.com</a><br>
<a href="https://oss.oracle.com/mailman/listinfo/graalvm-users" rel="noreferrer" target="_blank">https://oss.oracle.com/<wbr>mailman/listinfo/graalvm-users</a><br></blockquote></div><br></div>