Most integration tests assert nothing (crash test passes without finding a crash)

Abierto
#436 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
testing-qa

Línea de trabajo

Start with tests/x86_64_magic_crash_latest.rs at the linked lines and compare its outcome checks with tests/x86_64_edk2_timeout_latest.rs. Then inspect pure functions such as the tokenizer and comparison arithmetic for unit test opportunities. Done means the crash test verifies that a solution was found and selected untested behavior has meaningful regression tests; the issue notes that SIMICS reproduction has not been done.

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

Descripción

Where

Problem
The test prints output and returns Ok(()); it passes whenever 100 iterations finish before the watchdog. Only the timeout, exception-metadata and null-string tests assert outcomes. Untested areas: src/arch/arm.rs, src/arch/aarch64.rs, all Windows support, source coverage, execution traces, use_initial_as_corpus, keep_all_corpus, start_without_buffer, start_with_buffer_ptr_size_ptr_value, breakpoint solutions; no unit tests in src/.

Impact
Regressions in solution detection go unnoticed.

Suggested fix
Assert solutions exist (reuse the listing in tests/x86_64_edk2_timeout_latest.rs), and add unit tests for pure functions (tokenizer, cmp arithmetic).

Status
Confirmed by reading the code at 79972db. Found by reading the code; not reproduced under SIMICS.

Lenguaje dominante
Rust
Estrellas
335
Forks
26
Merge medio
1 d 50 min
PR fusionados (30 d)
12

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 intel/tsffs

Todos los issues de intel/tsffs

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.