Closed Bug 1015195 Opened 11 years ago Closed 11 years ago

Running b2g-desktop reftests fails (unable to find b2gautomation)

Categories

(Testing :: Reftest, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kats, Unassigned)

References

Details

Attachments

(1 file)

Attached file mach command output
STR: 1. Build gecko using the mozconfig at [1] 2. Run "mach reftest-b2g-desktop layout/reftests/reftest-sanity Expected: The reftest-sanity suite runs on the b2g-desktop build Actual: see attached output. It might just be a missing prerequisite step on my part, but at least the failure should be more graceful. [1] https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_desktop_client
And there is in fact a b2gautomation.py in my obj-b2g-desktop/_tests/reftest folder. For some reason the import statement just isn't finding it.
My current workaround: PYTHONPATH=obj-b2g-desktop/_tests/reftest mach reftest-b2g-desktop layout/reftests/reftest-sanity This seems to get past the error above, but now I have to rebuild with ENABLE_MARIONETTE=1 in my mozconfig. Stay tuned...
This problem turned out to be because the mach on my $PATH was not the one inside the gecko folder I was trying to run the b2g-desktop tests. Running ./mach instead mach fixed this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: