From: HAYASHI K. <ha...@cl...> - 2014-03-07 04:20:47
|
Hi, On Fri, 7 Mar 2014 13:10:46 +0900 HAYASHI Kentaro <ha...@cl...> wrote: > > Hi, > > > On Thu, 6 Mar 2014 14:04:33 +0000 > Nicholas Robert Kemp <nr...@my...> wrote: > > > Hi, I just coded the atomics in Groonga for the ARM64 cpu. I successfully built it and was just wondering the best way to test it. I have isolated the atomics already in their own program but I want to test it within Groonga first. > > > > Thanks > > > > Nick > > Great! > As Groonga has test suites which is written in C and Ruby, so please execute them. here is the way to test: > > 1) Test suites in C > > $ GROONGA=path_to_groonga ./test/unit/run-test.sh > > If you installed Groonga under /tmp/local, execute following command. > > $ GROONGA=/tmp/local/bin/groonga ./test/unit/run-test.sh > > It requires Cutter (http://cutter.sourceforge.net/), but I don't know it also works on ARM. > > 2) Test suites in Ruby > > $ GROONGA=path_to_groonga ./test/command/run-test.sh > > > If there are any questions, please ask. > You can also execute above test without installing Groonga. just execute: $ ./test/command/run-test.sh Test suites which are written in C is gradually ported to Ruby, so it may be just enough to test Ruby's test suites only. -- HAYASHI Kentaro <ha...@cl...> |