You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by Apache Wiki <wi...@apache.org> on 2008/04/16 16:58:29 UTC

[Harmony Wiki] Trivial Update of "DRLVMInternalTests" by starcon

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by starcon:
http://wiki.apache.org/harmony/DRLVMInternalTests

------------------------------------------------------------------------------
  [[Anchor(run-cunit)]]
  === 2. Running C-unit tests ===
  
+ There are common rules of running all of the ''C-unit'' tests. To run all ''C-unit'' tests in default mode need to execute from working_vm directory:
+ {{{
+ ant kernel.test
+ }}}
+ 
+ You can set binary configuration thought a command line option or an environment variable:
+ {{{
+ -Dhy.cfg=[release|debug]
+ export BUILD_CFG=[release|debug]
+ }}}
+ By default 'debug' mode is set.
+ 
+ Also you can specify a given test to be run, for example:
+ {{{
+ –Dtest.case=test_native_basic
+ }}}
+ 
+ The known point is that if you what to run the test from direct command without ant adaptors, then get execution command from ant debug output, for example with the following command:
+ {{{
+ ant -d cunit.test
+ }}}
+ 
  [#Summary Back to Summary]
  [[Anchor(run-kernel)]]
  === 3. Running Kernel tests ===