Skip to content

Tests occasionally (??) do nothing #38

@galexv

Description

@galexv

Often, but not every time, running make test on Cloudbees under Jenkins results in:

ERROR: Step ‘Publish JUnit test result report’ failed: None of the test reports contained any result
[...]
Finished: FAILURE

and indeed, looking into the test log shows

Start testing: Feb 27 13:19 EST
----------------------------------------------------------
1/6 Testing: default_modelTest
1/6 Test: default_modelTest
Command: "/scratch/jenkins/workspace/maxent-alpscore/test/default_modelTest" "--gtest_output=xml:default_modelTest.xml"
Directory: /scratch/jenkins/workspace/maxent-alpscore/test
"default_modelTest" start time: Feb 27 13:19 EST
Output:
----------------------------------------------------------
Running main() from gtest_main.cc
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (0 ms total)
[  PASSED  ] 0 tests.
<end of output>
Test time =   0.05 sec
----------------------------------------------------------
Test Passed.
"default_modelTest" end time: Feb 27 13:19 EST
"default_modelTest" time elapsed: 00:00:00

See attached Maxent_LastTest_20180227.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions