Closed Bug 618977 Opened 10 years ago Closed 10 years ago
Specifying an invalid test-path no longer complains about no tests to run, instead just does nothing
If you give a test-path that doesn't include any tests (f.e. if you typo a test name) then clicking run tests switches to the browser window and then nothing happens. The error console displays: Error: linkArray is undefined Source File: chrome://mochikit/content/server.js Line: 555
I guess this must have been broken by bug 592859 (http://hg.mozilla.org/mozilla-central/rev/f9fcf102493f )
simple fix to display an no tests found when specifying a --test-path for browser-chrome. This fix also will work for mochitest and mochitest-chrome since they use the same functions.
Assignee: nobody → jmaher
Attachment #498754 - Flags: review?
this is passing on try server.
I updated the patch to current trunk and made a minor tweak. Joel, do you want to land this or shall I?
I can land this tomorrow morning on m-c, but feel free to land this earlier if you have other patches landing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
I just had this very issue (linkArray is undefined) because I hadn't updated the Makefile.in and ran make -C dom/tests/mochitest/chrome to make sure the test file was copied in my objdir. My copy of m-c is fresh from a couple days ago. Should I file a new bug or reopen this one?
You need to log in before you can comment on or make changes to this bug.