Skip to content

Commit f3d478c

Browse files
authored
Add revert list (#230)
1 parent 308d1dc commit f3d478c

File tree

19 files changed

+308
-13
lines changed

19 files changed

+308
-13
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ jobs:
6565
env:
6666
CC: gcc-14
6767
CXX: g++-14
68+
- name: Archive revert list
69+
uses: actions/[email protected]
70+
with:
71+
name: revert-list
72+
path: build/revert-list.txt
6873
- name: Build project
6974
run: |
7075
cmake --build build --parallel

tasks/CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ foreach(TASK_TYPE ${LIST_OF_TASKS})
5050
SUBDIRLIST(subdirs ${PATH_TO_TASK})
5151
foreach(subd ${subdirs})
5252
if ("${subd}" MATCHES "_disabled$")
53-
message(WARNING " -- SKIPPED func and perf tests for ${PATH_TO_TASK}/${subd}")
53+
get_filename_component(DIR_NAME ${PATH_TO_TASK} NAME)
54+
list(APPEND LIST_OF_REVERTS "${DIR_NAME}_${subd}")
5455
continue()
5556
endif()
5657
get_filename_component(PROJECT_ID ${subd} NAME)
@@ -176,3 +177,11 @@ foreach(TASK_TYPE ${LIST_OF_TASKS})
176177
set(FUNC_TESTS_SOURCE_FILES "")
177178
set(PERF_TESTS_SOURCE_FILES "")
178179
endforeach()
180+
181+
set(OUTPUT_FILE "${CMAKE_BINARY_DIR}/revert-list.txt")
182+
file(WRITE ${OUTPUT_FILE} "${CONTENT}")
183+
message(STATUS "revert list")
184+
foreach (dir_name ${LIST_OF_REVERTS})
185+
message(STATUS "-- ${dir_name}")
186+
file(APPEND ${OUTPUT_FILE} "${dir_name}\n")
187+
endforeach()

tasks/all/example/func_tests/func_mpi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <random>
66
#include <vector>
77

8-
#include "mpi/example/include/ops_mpi.hpp"
8+
#include "all/example/include/ops_mpi.hpp"
99

1010
namespace {
1111
std::vector<int> GetRandomVector(int sz) {

tasks/all/example/func_tests/func_omp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <random>
55
#include <vector>
66

7-
#include "omp/example/include/ops_omp.hpp"
7+
#include "all/example/include/ops_omp.hpp"
88

99
namespace {
1010
std::vector<int> GetRandomVector(int sz) {

tasks/all/example/func_tests/func_seq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <opencv2/opencv.hpp>
44
#include <vector>
55

6-
#include "seq/example/include/ops_seq.hpp"
6+
#include "all/example/include/ops_seq.hpp"
77

88
TEST(Sequential, Test_Sum_10) {
99
const int count = 10;

tasks/all/example/func_tests/func_stl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <thread>
66
#include <vector>
77

8-
#include "stl/example/include/ops_stl.hpp"
8+
#include "all/example/include/ops_stl.hpp"
99

1010
namespace {
1111
std::vector<int> GetRandomVector(int sz) {

tasks/all/example/func_tests/func_tbb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <random>
55
#include <vector>
66

7-
#include "tbb/example/include/ops_tbb.hpp"
7+
#include "all/example/include/ops_tbb.hpp"
88

99
namespace {
1010
std::vector<int> GetRandomVector(int sz) {

tasks/all/example/perf_tests/perf_omp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <boost/mpi/communicator.hpp>
55
#include <vector>
66

7+
#include "all/example/include/ops_omp.hpp"
78
#include "core/perf/include/perf.hpp"
8-
#include "omp/example/include/ops_omp.hpp"
99

1010
TEST(all_example_perf_test, test_pipeline_run) {
1111
const int count = 100;

tasks/all/example/perf_tests/perf_tbb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <boost/mpi/communicator.hpp>
55
#include <vector>
66

7+
#include "all/example/include/ops_tbb.hpp"
78
#include "core/perf/include/perf.hpp"
8-
#include "tbb/example/include/ops_tbb.hpp"
99

1010
TEST(all_example_perf_test, test_task_run) {
1111
const int count = 100;

tasks/all/example/src/ops_mpi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "mpi/example/include/ops_mpi.hpp"
1+
#include "all/example/include/ops_mpi.hpp"
22

33
#include <algorithm>
44
#include <functional>

0 commit comments

Comments
 (0)