util/run-gnu-testsuite.sh: shell-script tests run `../gawk` instead of our binary
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 64/100
Línea de trabajo
Start with util/run-gnu-testsuite.sh and the AWK/AWKPROG setup in gawk's test/Makefile, then check how beginfile2 and fflush invoke ../gawk from the test directory. Update the runner to pass the wrapper through AWKPROG and make the wrapper available to those relative-path tests. Run the affected GNU tests and confirm they reach the Rust binary.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
util/run-gnu-testsuite.sh runs make check AWK="$WRAPPER". gawk's
test/Makefile builds AWK from AWKPROG (AWK = $(LOCALES) ... $(AWKPROG) $(GAWK_TEST_ARGS)), and its .sh tests use AWKPROG directly:
fflush:
@-$(LOCALES) AWK="$(AWKPROG) $(GAWK_TEST_ARGS)" "$(srcdir)"/[email protected] > _$@ 2>&1 ...
AWKPROG defaults to ../gawk, which does not exist in the extracted tree,
so these tests run nothing and fail with ../gawk: not found. Overriding
AWK also drops the LOCALES and AWKLIBPATH settings for every other test.
Fix
Pass AWKPROG="$WRAPPER" instead of AWK="$WRAPPER" in the make -k ... check call. With that, the tests reach the Rust binary (they then fail on
printf, -v, built-ins, --lint, next, which the other issues cover).
beginfile2 and fflush still call ../gawk by a relative path from the test
directory and need the wrapper there too (or a gawk symlink in the parent
of test/).
Affected tests: beginfile2, cmdlinefsbacknl, cmdlinefsbacknl2, exit, fflush,
localenl, modifiers, next, pid, poundbang, randtest, rtlen, rtlen01 (jarebug
passes by accident).
- Lenguaje dominante
- Rust
- Estrellas
- 31
- Forks
- 13
- Merge medio
- 23 h 42 min
- PR fusionados (30 d)
- 29
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de uutils/awk
-
bug gnu-compat good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug crash gnu-compat good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug gnu-compat good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
awk: ARGV and ARGC are never setAbiertobug gnu-compat good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
awk: `-f missing-file` and `--source` panicPosiblemente ocupada @VanshajPoonia la tomó hace 4 días. Abiertobug crash gnu-compat good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
Todos los issues de uutils/awk
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
code-quality parser
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
eventflux-io/eventflux#218 ·
Los mantenedores suelen responder en 1 día
-
StartSso docs say an option requires the built-in AuthnRequest renderer, which is now the only oneAbiertodocumentation needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día