Skip to content

porttest running 0 tests #6486

Closed
Closed

Description

@babsingh

I rebased my OMR repo, and I was able to reproduce the error, which is mentioned in #6465 (comment). The introduction of "--gtest_filter=" at the end of the Test command causes 0 port tests to run. It is apparently affecting all PR builds. @0xdaryl None of the PR builds are correctly running porttest.

With the error

/root/omr/build/fvtest/porttest/omrporttest "--gtest_output=xml:/root/omr/build/fvtest/porttest/omrporttest-results.xml" "--gtest_filter="
Note: Google Test filter =
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (0 ms total)
[  PASSED  ] 0 tests.
[  ALL TESTS PASSED  ]

Without the error, after removing "--gtest_filter="

/root/omr/build/fvtest/porttest/omrporttest "--gtest_output=xml:/root/omr/build/fvtest/porttest/omrporttest-results.xml"
[==========] Running 237 tests from 20 test cases.
[----------] 1 test from PortInitializationTest
[----------] 1 test from PortInitializationTest (0 ms total)

[----------] 2 tests from PortFileTest
[----------] 2 tests from PortFileTest (0 ms total)

[----------] 8 tests from PortHeapTest
[----------] 8 tests from PortHeapTest (1099 ms total)

[----------] 8 tests from PortTest
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions