Suite: `make -C <repo> test` fails [137] because print-SRC_V_asan-gfx output includes make's "Entering directory" banner
Maintainer thường phản hồi trong vòng 1 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
- 88/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, testing-qa
Hướng nghiên cứu
Bắt đầu với tests/test_asan_gfx.sh và tests/test_leak_guard.sh, đặc biệt là các reader print-*, và tái hiện vấn đề bằng MAKEFLAGS=w. Xác minh rằng cả hai reader chỉ nhận các tên tệp nguồn, sau đó chạy make -C test và xác nhận section [137] đạt; thêm kiểm tra được yêu cầu cho đầu ra của directory-banner.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
tests/test_asan_gfx.sh (suite section [137]) reads its source list with
SRCS=$(make -C "$ROOT" -s print-SRC_V_asan-gfx 2>/dev/null)
When the suite itself was started as make -C /path/to/EigenScript test, the outer make puts w (--print-directory) into MAKEFLAGS. The nested make inherits it, and -s does not suppress the banner, which goes to stdout. SRCS then contains make[1]: Entering directory '/path' / Leaving directory words, and the compile fails at link time:
/usr/bin/ld: cannot find make[1]:: No such file or directory
/usr/bin/ld: cannot find Entering: No such file or directory
/usr/bin/ld: cannot find '/home/user/wt1243': No such file or directory
...
FAIL: asan-gfx build failed
FAIL: test_asan_gfx.sh exited 1 without completing — section verdict is not trustworthy (#988)
The nested call in isolation, measured on main 38a20d5:
$ make -s print-SRC_V_asan-gfx | head -c 60
src/eigenscript.c src/lexer.c src/parser.c src/builtins.c
$ MAKEFLAGS=w make -C . -s print-SRC_V_asan-gfx | head -c 60
make: Entering directory '/home/user/wt1243'
src/eigens
cd <repo> && make test passes [137] (15/15). make -C <repo> test fails it deterministically (twice in a row), and the reported failure points at the gfx corpus rather than at the invocation. Found while gating an unrelated PR (#1330) from a different working directory.
tests/test_leak_guard.sh:51 reads make -s print-SOURCES the same way; it is exposed to the same inherited flag whenever it runs under a make that has w set.
Done when
- Both readers get a clean list whatever
MAKEFLAGSthe suite inherits: pass--no-print-directory, or clearMAKEFLAGS/MAKELEVELfor that call. -
make -C <repo> testpasses [137] on a tree wherecd <repo> && make testpasses. - A check that fails if a
print-*reader's output containsEntering directory. For example, run the reader withMAKEFLAGS=win the environment and assert that every word ends in.c.
- Ngôn ngữ chính
- C
- Star
- 3
- Fork
- 7
- Merge trung bình
- 3 giờ 56 phút
- Pull request đã merge (30 ngày)
- 102
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InauguralSystems/EigenScript
-
area:stdlib found-by:code-review kind:silent-wrong
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
InauguralSystems/EigenScript#1338 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:lint-tooling found-by:critic kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
InauguralSystems/EigenScript#1335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ci found-by:critic kind:gate-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
InauguralSystems/EigenScript#1311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enrolment: decide test_gc_runner_controls.py (exempt vs enrol) and whether floors need a ratchetĐang mởarea:gates found-by:critic kind:decision
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
InauguralSystems/EigenScript#1280 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs good first issue kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
InauguralSystems/EigenScript#1277 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của InauguralSystems/EigenScript
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
johnsonjh/emu2-cpm86#68 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Zenmap CrashĐang mởZenmap
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
fastfetch-cli/fastfetch#2619 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Template: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
betaflight/betaflight#15759 ·
Maintainer thường phản hồi trong vòng 1 ngày