Support #1725

Improve pup_stl testing

Added by Sam White over 1 year ago. Updated about 1 year ago.

In Progress
Build & Test Automation
Target version:
Start date:
Due date:
% Done:


Spent time:


examples/charm++/PUP/STLPUP/ only tests std::vector<float> right now. The PUP routine for std::vector has different specializations for vector<bool> and vector<T> where T is an arithmetic type. We want to test all 3 cases of vector PUP, and to test PUP of other STL types.


#1 Updated by Sam White over 1 year ago

Basically, add some different stl containers as members of HeapObject, initialize them to whatever values, then after sending a message of HeapObject, CkAssert() that the values are what they should be so that the test fails if they aren't correct.

#2 Updated by Sam White over 1 year ago

  • Assignee set to Samarth Kulshreshtha

#3 Updated by Eric Mikida over 1 year ago

Just FYI, I've added some cases already for bug #1443, which should be pushed to gerrit soon. There is still definitely room for more for Samarth to add, although I'm wondering if this should also be included in tests?

#4 Updated by Samarth Kulshreshtha over 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100
  • Start date changed from 10/27/2017 to 04/04/2018

#5 Updated by Sam White about 1 year ago

This patch needs to be updated with more STL containers and types:

Also available in: Atom PDF