canCreateTypedArrayWithNoCopy is skipped on every engine, not just QuickJS

オープン
#231 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, cpp, ios, typescript
領域
mobile, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
16.4k
フォーク
539
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Snapchat/Valdi のほかの issue

Snapchat/Valdi の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。