Project

General

Profile

Support #1725

Improve pup_stl testing

Added by Sam White 23 days ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Category:
Build & Test Automation
Target version:
-
Start date:
10/27/2017
Due date:
% Done:

0%


Description

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.

History

#1 Updated by Sam White 23 days 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 20 days ago

  • Assignee set to Samarth Kulshreshtha

#3 Updated by Eric Mikida 17 days 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?

Also available in: Atom PDF