Bug 1469054 - Skip some test cases in test_adb.js on Windows. r=jdescottes

On Windows testNoTargetBinaries fails since we don't remove extracted binaries
in the profile directory when the extension is removed.  The original adbhelper
addon doesn't remove them either, so this problem has been underlying
originally.  We will fix it in a later bug.

Also on Windows, testStartAndStop and testTrackDevices fail.  That's because,
I guess, the adb mock (adb.py) isn't launched properly.  I will handle it
once after I take a windows laptop back.

MozReview-Commit-ID: 15wo1S0pX37

--HG--
extra : rebase_source : 3a8c60c174def8f24517e10d916384c5fa5ce45c
This commit is contained in:
Hiroyuki Ikezoe 2018-08-09 15:43:44 +09:00
Родитель e061017292
Коммит bb43bca5d4
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -100,7 +100,9 @@ add_task(async function testNoAdbJSON() {
await extension.unload();
});
add_task(async function testNoTargetBinaries() {
add_task({
skip_if: () => mozinfo.os == "win" // bug 1482008
}, async function testNoTargetBinaries() {
const extension = ExtensionTestUtils.loadExtension({
manifest: {
version: "1.0",
@ -148,7 +150,9 @@ add_task(async function testExtract() {
await extension.unload();
});
add_task(async function testStartAndStop() {
add_task({
skip_if: () => mozinfo.os == "win" // bug 1482008
}, async function testStartAndStop() {
const extension = ExtensionTestUtils.loadExtension({
manifest: {
version: "1.0",
@ -180,7 +184,9 @@ add_task(async function testStartAndStop() {
await extension.unload();
});
add_task(async function testTrackDevices() {
add_task({
skip_if: () => mozinfo.os == "win" // bug 1482008
}, async function testTrackDevices() {
const extension = ExtensionTestUtils.loadExtension({
manifest: {
version: "1.0",