TEST: Run the Align Sections example pipelines as pipeline tests

Abierto Apto para principiantes
#1,979 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cmake, cpp
Área
testing-qa

Línea de trabajo

Empieza con la lista PREBUILT_PIPELINE_NAMES en src/Plugins/SimplnxCore/test/CMakeLists.txt (líneas 386-411) y revisa cómo create_pipeline_tests() registra cada entrada. Añade a esa lista las tres pipelines Align_Sections de src/Plugins/SimplnxCore/pipelines/Align_Sections_Examples/ y comprueba que el archivo de entrada Data/ se descarga para ellas. Está terminado cuando ctest ejecuta las tres pruebas de pipelines de alineación y todas pasan.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
18
Forks
15
Merge medio
4 d 23 h
PR fusionados (30 d)
42

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BlueQuartzSoftware/simplnx

Todos los issues de BlueQuartzSoftware/simplnx

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.