Closed
Bug 972407
Opened 11 years ago
Closed 7 years ago
Webrtc mtransport unit test can not be run on Fennec
Categories
(Firefox for Android Graveyard :: Testing, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: qiang.lu, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Steps to reproduce:
Follow instruction to setup cppunittest environment correctly
https://wiki.mozilla.org/Mobile/Fennec/Android#cppunittests
and https://wiki.mozilla.org/Media/WebRTC/Testing
run below cmd:
TEST_PATH=media/mtransport/test/ice_unittest make cppunittests-remote
Actual results:
luq@luq-ultrabook:~/Dev/firefox/firefox_for_android/x86_trunk/src/objdir-droid-arm$ TEST_PATH=media/mtransport/test/ice_unittest make cppunittests-remote
remotecppunittests INFO | Running test ice_unittest
CANNOT LINK EXECUTABLE: could not load library "libxul.so" needed by "/data/local/tests/cppunittests/b/ice_unittest"; caused by library "libxul.so" not found
remotecppunittests TEST-UNEXPECTED-FAIL | ice_unittest | test failed with return code 1
cppunittests INFO | Result summary:
cppunittests INFO | Passed: 0
cppunittests INFO | Failed: 1
make: *** [cppunittests-remote] Error 1
Expected results:
unit test pass without error.
libxul.so location information:
luq@luq-ultrabook:~/Dev/firefox/firefox_for_android/x86_trunk/src/objdir-droid-arm$ find . -name libxul.so
./dist/lib/libxul.so
./dist/sdk/lib/libxul.so
./dist/fennec/assets/libxul.so
./dist/bin/libxul.so
./toolkit/library/libxul.so
After some analysis, i found the root cause is the output of ./toolkit/library/libxul.so not included by src/testing/runcppunittests.py script.
see
http://dxr.mozilla.org/mozilla-central/source/testing/remotecppunittests.py#78
and
http://dxr.mozilla.org/mozilla-central/source/testing/testsuite-targets.mk#364
So, i think the quick solution is adding "./dist/bin/libxul.so" to --localLib in testsuite-targets.mk
If i am right, i will generate a patch for fixing this issue.
![]() |
||
Comment 2•7 years ago
|
||
Mass closing Firefox for Android :: Testing bugs with no progress in 2017.
If this bug is important to you, please re-open.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•