Closed Bug 1642659 Opened 5 years ago Closed 5 years ago

Teach `mach test` about JS reftests

Categories

(Testing :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1422012

People

(Reporter: mgaudet, Assigned: gbrown)

Details

User Story:

Given a browser build, I expect to be able to run a failing jsreftest (Treeherder name Reftests test-windows10-64/debug-jsreftest-e10s-1) with a simple mach test command:

Expected:

./mach test js/src/tests/non262/Array/getter-name.js 

Runs the test

Actual

~/unified$ ./mach test js/src/tests/non262/Array/getter-name.js 
UNKNOWN TEST: js/src/tests/non262/Array/getter-name.js
I was unable to find tests from the given argument(s).

You should specify a test directory, filename, test suite name, or
abbreviation. If no arguments are given, there must be local file
changes and corresponding IMPACTED_TESTS annotations in moz.build
files relevant to those files.

It's possible my little brain doesn't know about the type of test you are
trying to execute. If you suspect this, please request support by filing
a bug at
https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=General.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.