Difference between revisions of "SmokeTest"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 3: Line 3:
 
OO.o has a beautiful built-in smoke-test application for running some basic sanity checks on a build to ensure that nothing wildly wrong crept in between releases. These tests run quite quickly, since they only do simple document creation / load / save tasks.
 
OO.o has a beautiful built-in smoke-test application for running some basic sanity checks on a build to ensure that nothing wildly wrong crept in between releases. These tests run quite quickly, since they only do simple document creation / load / save tasks.
  
=== Running them ===
+
The smoke test is run by building module <code>smoketestoo_native</code>; it should be build as the last step of each complete build:
 
+
On linux:
+
  
 
     cd smoketestoo_native
 
     cd smoketestoo_native
    export TEMP=/tmp
+
     build --all
     build
+
  
For now it is necessary to have build installable RPMs, since smoketest needs to install these before starting. When [http://www.openoffice.org/issues/show_bug.cgi?id=72803 i#72803#] gets fixed, this will not be necessary.
+
[[Category:Development]]
 
[[Category:Quality Assurance]]
 
[[Category:Quality Assurance]]

Revision as of 12:00, 22 March 2010

Smoke Test

OO.o has a beautiful built-in smoke-test application for running some basic sanity checks on a build to ensure that nothing wildly wrong crept in between releases. These tests run quite quickly, since they only do simple document creation / load / save tasks.

The smoke test is run by building module smoketestoo_native; it should be build as the last step of each complete build:

   cd smoketestoo_native
   build --all
Personal tools