Skip to content

Tests run in parallel? #10

Closed
Closed
@jvdp1

Description

@jvdp1

I am buzy to move some tests for using test-drive in one of my personal project.
The library, as well as the tests are compiled with the OpenMP and paralle options. This leads to quite random outputs because it seems that the new_unittests are run in parallel.

E.g.:

# Testing: modtest_example
  Starting dummy ... (1/3)
  Starting test_info ... (2/3)
       ... dummy [PASSED]
  Starting test_ex1 ... (3/3)
       ... test_info [PASSED]
       ... test_ex1 [PASSED]
All tests passed!

Per se, it is not a problem, if the tests can run independently (it might not be always the case, e.g., it 2 tests call a procedure relying on a module 's global variable). It is mainly the output that is difficult to read.

Or did I miss something?

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