Project

General

Profile

Support #1725

Improve pup_stl testing

Added by Sam White about 1 year ago. Updated 7 months 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 about 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 about 1 year ago

  • Assignee set to Samarth Kulshreshtha

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

This patch needs to be updated with more STL containers and types: https://charm.cs.illinois.edu/gerrit/#/c/charm/+/3949/

Also available in: Atom PDF