Project

General

Profile

Support #1725

Improve pup_stl testing

Added by Sam White 6 months ago. Updated 21 days ago.

Status:
In Progress
Priority:
Normal
Category:
Build & Test Automation
Target version:
-
Start date:
04/04/2018
Due date:
% Done:

100%

Spent time:

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 6 months 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 6 months ago

  • Assignee set to Samarth Kulshreshtha

#3 Updated by Eric Mikida 6 months 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 21 days ago

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

Also available in: Atom PDF