util/run-gnu-testsuite.sh: shell-script tests run `../gawk` instead of our binary
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Rust
- スター
- 31
- フォーク
- 13
- 平均マージ
- 23時間 42分
- マージ済み PR(30日)
- 29
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uutils/awk のほかの issue
-
bug gnu-compat good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug crash gnu-compat good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug gnu-compat good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug gnu-compat good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
awk: `-f missing-file` and `--source` panic対応中かも @VanshajPoonia が 4 日前に担当しました。 オープンbug crash gnu-compat good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
code-quality parser
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
eventflux-io/eventflux#218 ·
メンテナーはふだん 1 日以内に返信
-
StartSso docs say an option requires the built-in AuthnRequest renderer, which is now the only oneオープンdocumentation needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信