Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test dependencies #374

Merged
merged 1 commit into from
May 30, 2022
Merged

fix test dependencies #374

merged 1 commit into from
May 30, 2022

Conversation

nim65s
Copy link
Contributor

@nim65s nim65s commented May 28, 2022

Hi,

Running tests with CTEST_PARALLEL_LEVEL > 1, I get the following error:

3/14 Test  #5: ReadGraph ........................***Failed    0.00 sec
ERROR: Filestream to test.graph not open, nothing read.
test failed (EXPECT_TRUE) in octomap/src/testing/unit_tests.cpp, line 154

So I guess we need to explain to CMake that ReadGraph must wait for InsertScan, ref:

EXPECT_TRUE (graph->writeBinary("test.graph"));

@ahornung ahornung merged commit 9e7cdb7 into OctoMap:devel May 30, 2022
@ahornung
Copy link
Member

Indeed, the tests are not really independent of each other. Thanks for the fix!

c-andy-martin pushed a commit to BadgerTechnologies/octomap that referenced this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants