canCreateTypedArrayWithNoCopy is skipped on every engine, not just QuickJS

Aperta
#231 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
android, cpp, ios, typescript
Ambito
mobile, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
16.4k
Fork
539
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Snapchat/Valdi

Tutte le issue di Snapchat/Valdi

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.