Home | History | Annotate | Download | only in graphics
      1 <html devsite>
      2   <head>
      3     <title>Using special test groups</title>
      4     <meta name="project_path" value="/_project.yaml" />
      5     <meta name="book_path" value="/_book.yaml" />
      6   </head>
      7   <body>
      8   <!--
      9       Copyright 2017 The Android Open Source Project
     10 
     11       Licensed under the Apache License, Version 2.0 (the "License");
     12       you may not use this file except in compliance with the License.
     13       You may obtain a copy of the License at
     14 
     15           http://www.apache.org/licenses/LICENSE-2.0
     16 
     17       Unless required by applicable law or agreed to in writing, software
     18       distributed under the License is distributed on an "AS IS" BASIS,
     19       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     20       See the License for the specific language governing permissions and
     21       limitations under the License.
     22   -->
     23 
     24 
     25 
     26 <p>Some test groups may need or support special command line options, or require
     27 special care when used on certain systems.</p>
     28 
     29 <h2 id=memory_allocation_stress_tests>Memory allocation stress tests</h2>
     30 
     31 <p>Memory allocation stress tests exercise out-of-memory conditions by repeatedly
     32 allocating certain resources until the driver reports an out-of-memory error.</p>
     33 
     34 <p>On certain platforms, such as Android and most Linux variants, the following
     35 can occur: The operating system may kill the test process instead of allowing a
     36 driver to handle or otherwise provide an out-of-memory error. On such
     37 platforms, tests that are designed to cause out-of-memory errors are disabled
     38 by default, and must be enabled using the  <code>--deqp-test-oom=enable</code> command line argument.
     39 It is recommended that you run such tests manually to
     40 check if the system behaves correctly under resource pressure. However, in such
     41 a situation, a test process crash should be interpreted as a pass.</p>
     42 
     43 <h3 id=test_groups>Test groups</h3>
     44 
     45 <pre class="devsite-click-to-copy">
     46 dEQP-GLES2.stress.memory.*
     47 dEQP-GLES3.stress.memory.*
     48 </pre>
     49 
     50 <h2 id=long-running_rendering_stress_tests>Long-running rendering stress tests</h2>
     51 
     52 <p>Rendering stress tests are designed to reveal robustness issues under sustained
     53 rendering load. By default the tests will execute only a few iterations, but
     54 they can be configured to run indefinitely by supplying the <code>--deqp-test-iteration-count=-1</code> command line argument. The test watchdog should be disabled (<code>--deqp-watchdog=disable</code>) when running these tests for a long period of time.</p>
     55 
     56 <h3 id=test_groups2>Test groups</h3>
     57 
     58 <pre class="devsite-click-to-copy">
     59 dEQP-GLES2.stress.long.*
     60 dEQP-GLES3.stress.long.*
     61 </pre>
     62 
     63   </body>
     64 </html>
     65