Closed Bug 1199119 Opened 9 years ago Closed 9 years ago

Incorrect customized b2g path in gaia/bin/gaia-test on mac

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: boris, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

When running the gaia unit tests by my local b2g-desktop build on mac, I created a symbolic link to the binary I built.
(ex. /path/to/gaia/b2g -> /path/to/gecko/obj-gecko/dist/B2G.app)
However, I couldn't get the correct binary on mac by gaia/bin/gaia-test. Ex. The B2G.app I downloaded has a binary file 'b2g-bin'; however, the one I built locally only has the binary file 'b2g'.
We use the path, "./b2g/Contents/MacOS/b2g-bin" to link the b2g binary on mac.
(http://mxr.mozilla.org/gaia/source/bin/gaia-test#141)
I think this is a potential bug and we could fix it for the better testing experience.
(In reply to Boris Chiou [:boris] from comment #0)
> When running the gaia unit tests by my local b2g-desktop build on mac, I
> created a symbolic link to the binary I built.
> (ex. /path/to/gaia/b2g -> /path/to/gecko/obj-gecko/dist/B2G.app)
> However, I couldn't get the correct binary on mac by gaia/bin/gaia-test. Ex.
> The B2G.app I downloaded has a binary file 'b2g-bin'; however, the one I
> built locally only has the binary file 'b2g'.
> We use the path, "./b2g/Contents/MacOS/b2g-bin" to link the b2g binary on
> mac.
> (http://mxr.mozilla.org/gaia/source/bin/gaia-test#141)
> I think this is a potential bug and we could fix it for the better testing
> experience.

BTW, I can use the same steps to run the gaia-integration test
Attachment #8653382 - Attachment is obsolete: true
Summary: Incorrect customize b2g path in gaia unit test on mac → Incorrect customized b2g path in gaia/bin/gaia-test on mac
After using mulet as runtime for gaia unit test, the path is correct now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: