Open Bug 1050530 Opened 5 years ago Updated 5 years ago

using "mach mochitest-plain" to run a single test fails most of the time

Categories

(Testing :: Mochitest, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

People

(Reporter: dbaron, Unassigned)

Details

In a freshly-built tree (amd64 Linux debug+opt), if I do:

  ./mach mochitest-plain layout/style/test/test_transitions.html

I get the error:

No tests could be found in the path specified.  Please specify a path that is a test file or is a directory containing tests.


If I then do:
  ./mach mochitest-plain layout/style/test/
that works, and after doing that, if I then do:
  ./mach mochitest-plain layout/style/test/test_transitions.html
it now works, even though it didn't before.

I think this is a recent regression, although I'm not completely sure given the weird ordering dependency.
Er, actually, now it doesn't work again.
My scrollback shows it clearly worked once, but not again.

FWIW, I'm on https://hg.mozilla.org/mozilla-central/rev/2f198e81ed98 plus local patches.
Summary: mach mochitest-plain only runs a single test if I've previously run a directory → using "mach mochitest-plain" to run a single test fails most of the time
Could be a regression from bug 1014062.
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #3)
> Could be a regression from bug 1014062.

dbaron said over IRC that his working copy didn't include it (see also comment #2, which is indeed before it merged, AIUI).
You need to log in before you can comment on or make changes to this bug.