Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit b9e4440

Browse files
Merge pull request #1110 from igchor/weekly_fix
Weekly fixes
2 parents 8a1aec4 + f7fcb48 commit b9e4440

34 files changed

Lines changed: 81 additions & 35 deletions

.github/workflows/weekly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
CONFIG: ["TYPE=debug OS=ubuntu OS_VER=20.04 TESTS_USAN=1",
28-
"TYPE=debug OS=ubuntu OS_VER=20.04 TESTS_UBSAN=1",
27+
CONFIG: ["TYPE=debug OS=ubuntu OS_VER=20.04 TESTS_USAN=1 TESTS_PMREORDER=0",
28+
"TYPE=debug OS=ubuntu OS_VER=20.04 TESTS_UBSAN=1 TESTS_PMREORDER=0",
2929
"TYPE=valgrind OS=fedora OS_VER=rawhide TESTS_PMREORDER=0",
3030
"TYPE=memcheck_drd OS=fedora OS_VER=rawhide TESTS_PMREORDER=0",
3131
"TYPE=package OS=fedora OS_VER=34",

tests/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -970,23 +970,23 @@ if(TEST_MPSC_QUEUE)
970970
add_test_generic(NAME mpsc_queue_consume_multipass TRACERS none memcheck pmemcheck)
971971

972972
build_test(mpsc_queue_basic mpsc_queue/basic.cpp)
973-
add_test_generic(NAME mpsc_queue_basic SCRIPT mpsc_queue/mpsc_queue_basic_0.cmake TRACERS none memcheck pmemcheck)
973+
add_test_generic(NAME mpsc_queue_basic SCRIPT mpsc_queue/basic.cmake TRACERS none memcheck pmemcheck)
974974

975975
build_test(mpsc_queue_empty mpsc_queue/empty.cpp)
976976
add_test_generic(NAME mpsc_queue_empty TRACERS none memcheck pmemcheck)
977977

978978
build_test(mpsc_queue_recovery_order mpsc_queue/recovery_order.cpp)
979-
add_test_generic(NAME mpsc_queue_recovery_order SCRIPT mpsc_queue/mpsc_queue_recovery_order.cmake TRACERS none memcheck pmemcheck)
979+
add_test_generic(NAME mpsc_queue_recovery_order SCRIPT mpsc_queue/recovery_order.cmake TRACERS none memcheck pmemcheck)
980980

981981
if(PMREORDER_SUPPORTED)
982-
build_test(mpsc_queue_recovery mpsc_queue/recovery.cpp)
983-
add_test_generic(NAME mpsc_queue_recovery CASE 0 SCRIPT mpsc_queue/recovery_0.cmake TRACERS none)
984-
add_test_generic(NAME mpsc_queue_recovery CASE 1 SCRIPT mpsc_queue/recovery_1.cmake TRACERS none)
985-
add_test_generic(NAME mpsc_queue_recovery CASE 2 SCRIPT mpsc_queue/recovery_2.cmake TRACERS none)
986-
add_test_generic(NAME mpsc_queue_recovery CASE 3 SCRIPT mpsc_queue/recovery_3.cmake TRACERS none)
987-
988-
build_test(mpsc_queue_recovery_after_consume mpsc_queue/recovery_after_consume.cpp)
989-
add_test_generic(NAME mpsc_queue_recovery_after_consume SCRIPT mpsc_queue/recovery_after_consume_0.cmake TRACERS none)
982+
build_test(mpsc_queue_recovery_pmreorder mpsc_queue/pmreorder/recovery.cpp)
983+
add_test_generic(NAME mpsc_queue_recovery_pmreorder CASE 0 SCRIPT mpsc_queue/pmreorder/recovery_0.cmake TRACERS none)
984+
add_test_generic(NAME mpsc_queue_recovery_pmreorder CASE 1 SCRIPT mpsc_queue/pmreorder/recovery_1.cmake TRACERS none)
985+
add_test_generic(NAME mpsc_queue_recovery_pmreorder CASE 2 SCRIPT mpsc_queue/pmreorder/recovery_2.cmake TRACERS none)
986+
add_test_generic(NAME mpsc_queue_recovery_pmreorder CASE 3 SCRIPT mpsc_queue/pmreorder/recovery_3.cmake TRACERS none)
987+
988+
build_test(mpsc_queue_recovery_after_consume_pmreorder mpsc_queue/pmreorder/recovery_after_consume.cpp)
989+
add_test_generic(NAME mpsc_queue_recovery_after_consume_pmreorder SCRIPT mpsc_queue/pmreorder/recovery_after_consume.cmake TRACERS none)
990990
endif()
991991
endif()
992992
################################################################################

tests/external/libcxx/array/array.cons/copy_assignment.fail.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ test(int argc, char *argv[])
7070
}
7171

7272
run(pop);
73+
74+
pop.close();
7375
}
7476

7577
int

tests/external/libcxx/array/array.cons/default.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -112,6 +112,8 @@ test(int argc, char *argv[])
112112
}
113113

114114
run(pop);
115+
116+
pop.close();
115117
}
116118

117119
int

tests/external/libcxx/array/array.cons/implicit_copy.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -175,6 +175,8 @@ test(int argc, char *argv[])
175175
}
176176

177177
run(pop);
178+
179+
pop.close();
178180
}
179181

180182
int

tests/external/libcxx/array/array.cons/initializer_list.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -124,6 +124,8 @@ test(int argc, char *argv[])
124124
}
125125

126126
run(pop);
127+
128+
pop.close();
127129
}
128130

129131
int

tests/external/libcxx/array/array.data/data.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -124,6 +124,8 @@ test(int argc, char *argv[])
124124
}
125125

126126
run(pop);
127+
128+
pop.close();
127129
}
128130

129131
int

tests/external/libcxx/array/array.data/data_const.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -110,6 +110,8 @@ test(int argc, char *argv[])
110110
}
111111

112112
run(pop);
113+
114+
pop.close();
113115
}
114116

115117
int

tests/external/libcxx/array/array.fill/fill.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -91,6 +91,8 @@ test(int argc, char *argv[])
9191
}
9292

9393
run(pop);
94+
95+
pop.close();
9496
}
9597

9698
int

tests/external/libcxx/array/array.size/size.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99
//
10-
// Copyright 2018-2020, Intel Corporation
10+
// Copyright 2018-2021, Intel Corporation
1111
//
1212
// Modified to test pmem::obj containers
1313
//
@@ -90,6 +90,8 @@ test(int argc, char *argv[])
9090
}
9191

9292
run(pop);
93+
94+
pop.close();
9395
}
9496

9597
int

0 commit comments

Comments
 (0)