canCreateTypedArrayWithNoCopy is skipped on every engine, not just QuickJS

Đang mở
#231 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, cpp, ios, typescript
Lĩnh vực
mobile, testing

Hướng nghiên cứu

Start in valdi/test/integration/JSIntegrationTests.cpp: read the canCreateTypedArrayWithNoCopy test and the SKIP_IF_JSCORE / SKIP_IF_HERMES macros near the top of the file. Run bazel test //valdi:test_integration --test_filter='*canCreateTypedArrayWithNoCopy*' across the engines. Done when it passes on every engine, or skips only on QuickJS with a link to this issue while the QuickJS failure remains.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

JSContextFixture.canCreateTypedArrayWithNoCopy in valdi/test/integration/JSIntegrationTests.cpp starts with

GTEST_SKIP() << "Test fails for QuickJS Only";

The skip has no condition, so the test is skipped on every engine, not only QuickJS.

What to do:

  1. Replace the unconditional skip with a QuickJS-only one, using the same pattern as the SKIP_IF_JSCORE / SKIP_IF_HERMES macros at the top of the file, and confirm the test passes on the other engines.
  2. Fix the QuickJS failure, then remove the skip.

How to run

bazel test //valdi:test_integration --test_filter='*canCreateTypedArrayWithNoCopy*'

Done when: the test runs and passes on every engine, or is skipped only on QuickJS with a link to this issue until step 2 is done.

See CONTRIBUTING.md before opening a pull request.

Ngôn ngữ chính
C++
Star
16.4k
Fork
539
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Snapchat/Valdi

Tất cả issue của Snapchat/Valdi

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.