Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sst/core/testingframework/sst_unittest_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -2257,7 +2257,7 @@ def _read_os_release(filepath: str) -> Tuple[str, str]:
for line in lines:
if line.strip() and not line.startswith("#"):
key, value = line.strip().split("=", 1)
entries[key] = value
entries[key] = value.strip("\"")
return entries["ID"], entries.get("VERSION_ID", "")


Expand Down
5 changes: 3 additions & 2 deletions tests/testsuite_default_Checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ def test_Checkpoint_SharedObject_map(self) -> None:
def test_Checkpoint_SharedObject_set(self) -> None:
self.checkpoint_test_template("SharedObject", 2, 2, modelparams="--param=object_type:set --param=num_entities:12 --param=full_initialization:true --param=checkpoint:true", outstr = "SharedObject_set")

@unittest.skipIf(host_os_get_distribution_type() == OS_DIST_ROCKY and host_os_get_distribution_version() == "10", "This test fails on Rocky 10")
def test_Checkpoint_Statistics_basic(self) -> None:
self.checkpoint_test_template("StatisticsComponent_basic");
self.checkpoint_test_template("StatisticsComponent_basic")

def test_Checkpoint_Statistics_basic_n2one(self) -> None:
self.checkpoint_test_template("StatisticsComponent_basic", n_to_one=True);
self.checkpoint_test_template("StatisticsComponent_basic", n_to_one=True)

def test_Checkpoint_sc_2u2u_n2one(self) -> None:
self.checkpoint_test_template("sc_2u2u", 1, 2, subcomp=True, modelparams="1", n_to_one=True)
Expand Down