TEST: Run the Align Sections example pipelines as pipeline tests

Đang mở Phù hợp với người mới
#1,979 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 6 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake, cpp
Lĩnh vực
testing-qa

Hướng nghiên cứu

Bắt đầu từ danh sách PREBUILT_PIPELINE_NAMES trong src/Plugins/SimplnxCore/test/CMakeLists.txt (dòng 386-411) và xem cách create_pipeline_tests() đăng ký từng mục. Thêm ba pipeline Align_Sections từ src/Plugins/SimplnxCore/pipelines/Align_Sections_Examples/ vào danh sách đó, và kiểm tra xem kho lưu trữ đầu vào Data/ có được tải về cho chúng hay không. Hoàn thành khi ctest chạy cả ba bài kiểm tra pipeline căn chỉnh và tất cả đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Testing

Summary

The three example pipelines in src/Plugins/SimplnxCore/pipelines/Align_Sections_Examples/ are not run by any test. A change that breaks them is found only by running them by hand.

How it works now. create_pipeline_tests() turns each pipeline in a plugin's PREBUILT_PIPELINE_NAMES list into a ctest entry. The SimplnxCore list (test/CMakeLists.txt lines 386-411) has 9 of the 41 SimplnxCore example pipelines. None of the three alignment pipelines is listed:

  • Align_Sections_Backwards_Compatibility.d3dpipeline
  • Align_Sections_No_File.d3dpipeline
  • Align_Sections_User_Input.d3dpipeline

Why it is needed. #1908 item L78 was a defect in exactly this path: the backwards-compatibility pipeline read a legacy shift file that was missing its first row, and no test noticed. The batch 4 fix updates the pipelines and the input archive (align_sections_input_v2.tar.gz), but they are still checked only by hand.

Where it applies. The three pipelines above and the SimplnxCore PREBUILT_PIPELINE_NAMES list. They read their inputs from the Data/ folder, so the tests need the input archive to be downloaded. Whether the other unlisted SimplnxCore example pipelines should be registered in the same change is still open.

Found during the review of the #1908 batch 4 changes. No open issue covered it.

Ngôn ngữ chính
C++
Star
18
Fork
15
Merge trung bình
4 ngày 23 giờ
Pull request đã merge (30 ngày)
42

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BlueQuartzSoftware/simplnx

Tất cả issue của BlueQuartzSoftware/simplnx

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.