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

Pypresso: Remove "test -a" and quote $@ #3292

Merged
merged 2 commits into from
Nov 4, 2019

Conversation

hirschsn
Copy link
Contributor

@hirschsn hirschsn commented Nov 4, 2019

Description of changes:

PR Checklist

  • Tests?
    • Interface
    • Core
  • Docs?

@jngrad jngrad self-requested a review November 4, 2019 13:55
@codecov
Copy link

codecov bot commented Nov 4, 2019

Codecov Report

Merging #3292 into python will increase coverage by <1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           python   #3292    +/-   ##
=======================================
+ Coverage      85%     86%   +<1%     
=======================================
  Files         534     534            
  Lines       25510   25510            
=======================================
+ Hits        21937   21939     +2     
+ Misses       3573    3571     -2
Impacted Files Coverage Δ
src/core/particle_data.cpp 97% <0%> (ø) ⬆️

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 30b25a2...3574e20. Read the comment docs.

@jngrad jngrad added the BugFix label Nov 4, 2019
@jngrad jngrad added this to the Espresso 4.1.1 milestone Nov 4, 2019
Copy link
Member

@jngrad jngrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We really need to work on #3242.

@jngrad
Copy link
Member

jngrad commented Nov 4, 2019

bors r+

bors bot added a commit that referenced this pull request Nov 4, 2019
3291: Factor out and test memcpy serialization r=RudolfWeeber a=fweik

Description of changes:
 - This splits off the memcpy serialization used in the ghost communication and adds unit test
   for it.
 - Added customization point to opt-in to memcpy serialization for types that are not [TriviallyCopyable](https://en.cppreference.com/w/cpp/named_req/TriviallyCopyable), but serializes
 to a bounded size, like `boost::optional`. This is so we can use `optional` and `variant` in `ParticleProperties`, which is planned.


3292: Pypresso: Remove "test -a" and quote $@ r=jngrad a=hirschsn

Description of changes:
 - Remove `test -a` since calls to test with more than 4 arguments are unspecified: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
 - Quote `$@` to avoid splitting $@. Currently `./pypresso --gdb "test me.py"` will fail because tries to find the file `test`. Quoting avoids this.


PR Checklist
------------
 - [ ] Tests?
   - [ ] Interface
   - [ ] Core 
 - [ ] Docs?


Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
Co-authored-by: Steffen Hirschmann <steffen.hirschmann@ipvs.uni-stuttgart.de>
@bors
Copy link
Contributor

bors bot commented Nov 4, 2019

Build succeeded

@bors bors bot merged commit 3574e20 into espressomd:python Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants