Home | History | Annotate | Download | only in cctest
      1 # Copyright 2011 the V8 project authors. All rights reserved.
      2 # Redistribution and use in source and binary forms, with or without
      3 # modification, are permitted provided that the following conditions are
      4 # met:
      5 #
      6 #     * Redistributions of source code must retain the above copyright
      7 #       notice, this list of conditions and the following disclaimer.
      8 #     * Redistributions in binary form must reproduce the above
      9 #       copyright notice, this list of conditions and the following
     10 #       disclaimer in the documentation and/or other materials provided
     11 #       with the distribution.
     12 #     * Neither the name of Google Inc. nor the names of its
     13 #       contributors may be used to endorse or promote products derived
     14 #       from this software without specific prior written permission.
     15 #
     16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27 
     28 prefix cctest
     29 
     30 # All tests prefixed with 'Bug' are expected to fail.
     31 test-api/Bug*: FAIL
     32 
     33 ##############################################################################
     34 # BUG(382): Weird test. Can't guarantee that it never times out.
     35 test-api/ApplyInterruption: PASS || TIMEOUT
     36 
     37 # These tests always fail.  They are here to test test.py.  If
     38 # they don't fail then test.py has failed.
     39 test-serialize/TestThatAlwaysFails: FAIL
     40 test-serialize/DependentTestThatAlwaysFails: FAIL
     41 
     42 # This test always fails.  It tests that LiveEdit causes abort when turned off.
     43 test-debug/LiveEditDisabled: FAIL
     44 
     45 # TODO(gc): Temporarily disabled in the GC branch.
     46 test-log/EquivalenceOfLoggingAndTraversal: PASS || FAIL
     47 
     48 # We do not yet shrink weak maps after they have been emptied by the GC
     49 test-weakmaps/Shrinking: FAIL
     50 test-weaksets/WeakSet_Shrinking: FAIL
     51 
     52 # Boot up memory use is bloated in debug mode.
     53 test-mark-compact/BootUpMemoryUse: PASS, PASS || FAIL if $mode == debug
     54 
     55 ##############################################################################
     56 [ $arch == arm ]
     57 
     58 # We cannot assume that we can throw OutOfMemory exceptions in all situations.
     59 # Apparently our ARM box is in such a state. Skip the test as it also runs for
     60 # a long time.
     61 test-api/OutOfMemory: SKIP
     62 test-api/OutOfMemoryNested: SKIP
     63 
     64 # BUG(355): Test crashes on ARM.
     65 test-log/ProfLazyMode: SKIP
     66 
     67 # BUG(1075): Unresolved crashes.
     68 test-serialize/Deserialize: SKIP
     69 test-serialize/DeserializeFromSecondSerializationAndRunScript2: SKIP
     70 test-serialize/DeserializeAndRunScript2: SKIP
     71 test-serialize/DeserializeFromSecondSerialization: SKIP
     72 
     73 ##############################################################################
     74 [ $arch == mipsel ]
     75 
     76 # BUG(2657): Test sometimes times out on MIPS simulator.
     77 test-thread-termination/TerminateMultipleV8ThreadsDefaultIsolate: PASS || TIMEOUT
     78 
     79 # BUG(1075): Unresolved crashes on MIPS also.
     80 test-serialize/Deserialize: SKIP
     81 test-serialize/DeserializeFromSecondSerializationAndRunScript2: SKIP
     82 test-serialize/DeserializeAndRunScript2: SKIP
     83 test-serialize/DeserializeFromSecondSerialization: SKIP
     84 
     85 ##############################################################################
     86 [ $arch == android_arm || $arch == android_ia32 ]
     87 
     88 # Tests crash as there is no /tmp directory in Android.
     89 test-log/LogAccessorCallbacks: SKIP
     90 test-log/LogCallbacks: SKIP
     91 test-log/ProfLazyMode: SKIP
     92 
     93 # platform-tls.h does not contain an ANDROID-related header.
     94 test-platform-tls/FastTLS: SKIP
     95 
     96 # This test times out.
     97 test-threads/ThreadJoinSelf: SKIP
     98 
     99 ##############################################################################
    100 [ $arch == nacl_ia32 || $arch == nacl_x64 ]
    101 
    102 # NaCl builds have problems with threaded tests since Pepper_28.
    103 # V8 Issue 2786
    104 test-api/Threading1: SKIP
    105 test-lockers/MultithreadedParallelIsolates: SKIP
    106 test-lockers/ExtensionsRegistration: SKIP
    107 
    108 # These tests fail as there is no /tmp directory in Native Client.
    109 test-log/LogAccessorCallbacks: SKIP
    110 test-log/LogCallbacks: SKIP
    111 test-log/ProfLazyMode: SKIP
    112 
    113 # Native Client doesn't support sockets.
    114 test-debug/DebuggerAgent: SKIP
    115 test-debug/DebuggerAgentProtocolOverflowHeader: SKIP
    116 test-sockets/Socket: SKIP
    117 
    118 # Profiling doesn't work on Native Client.
    119 test-cpu-profiler/*: SKIP
    120