Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8354510

Skipped gtest cause test failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • None
    • master

      [rehn@rehn-black vanilla]$ make test-gtest CONF=linux-x86_64-server-fastdebug GTEST_OPTIONS="--gtest_filter=ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm"
      Note: Command line contains non-control variables:
      * GTEST_OPTIONS=--gtest_filter=ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm
      Make sure it is not mistyped, and that you intend to override this variable.
      'make help' will list known control variables.

      Note: Command line contains non-control variables:
      * GTEST_OPTIONS=--gtest_filter=ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm
      Make sure it is not mistyped, and that you intend to override this variable.
      'make help' will list known control variables.

      Building target 'test-gtest' in configuration 'linux-x86_64-server-fastdebug'
      Test selection 'gtest', will run:
      * gtest:all/server

      Running test 'gtest:all/server'
      Note: Google Test filter = ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      [----------] 1 test from ZVirtualMemoryManagerTest
      [ RUN ] ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm
      /home/rehn/source/jdk/vanilla/test/hotspot/gtest/gc/z/test_zVirtualMemoryManager.cpp:158: Skipped
      Failed reserve_discontiguous, expected 3 * ZGranuleSize, got 2 * ZGranuleSize

      [ SKIPPED ] ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm (0 ms)
      [----------] 1 test from ZVirtualMemoryManagerTest (35 ms total)

      [----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (35 ms total)
      [ PASSED ] 0 tests.
      [ SKIPPED ] 1 test, listed below:
      [ SKIPPED ] ZVirtualMemoryManagerTest.test_reserve_discontiguous_and_coalesce_vm
      Finished running test 'gtest:all/server'
      Test report is stored in build/linux-x86_64-server-fastdebug/test-results/gtest_all_server

      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR SKIP
      >> gtest:all/server 1 0 0 1 0 <<
      ==============================
      TEST FAILURE

      make[1]: *** [/home/rehn/source/jdk/vanilla/make/Init.gmk:148: main] Error 1
      make: *** [/home/rehn/source/jdk/vanilla/make/PreInit.gmk:158: test-gtest] Error 2

            aboldtch Axel Boldt-Christmas
            rehn Robbin Ehn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: