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

Test observable_cylindricalLB: Split CPU and GPU Parts and Correct skipIfs #2272

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

pkreissl
Copy link
Contributor

The test observable_cylindricalLB.py has incorrect skipIfs. It is skipped if LB_GPU is not compiled in (or SHANCHEN is activated), however it also relies on the LB feature.
The test wrongly fails, when LB_GPU is compiled and LB is not compiled in.

Is fixed by this PR, which splits cpu and gpu parts of the test functions and skips correctly.

@codecov
Copy link

codecov bot commented Sep 20, 2018

Codecov Report

Merging #2272 into python will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #2272   +/-   ##
======================================
  Coverage      71%     71%           
======================================
  Files         377     377           
  Lines       18946   18946           
======================================
  Hits        13585   13585           
  Misses       5361    5361

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3059d2d...36a9934. Read the comment docs.

@KaiSzuttor
Copy link
Member

the whole test is poorly written, I think it's a quickfix but we need to improve that testcase and remove code duplication by using inheritance like in the other tests that test cpu and gpu LB.

@fweik fweik added this to the Espresso 4.0.1 milestone Sep 20, 2018
@fweik fweik merged commit 82e4d43 into espressomd:python Sep 20, 2018
RudolfWeeber pushed a commit to RudolfWeeber/espresso that referenced this pull request Oct 15, 2018
…ndricalLB

Test observable_cylindricalLB: Split CPU and GPU Parts and Correct skipIfs
@pkreissl pkreissl deleted the test_observable_cylindricalLB branch December 3, 2018 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants