Open Bug 1232690 Opened 4 years ago Updated 4 years ago

test_packages.json should allow specifying subdirectory in which to unzip contents

Categories

(Testing :: General, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: ted, Unassigned)

Details

In bug 1232543 dustin found out that mozharness has code to special-case the jsshell zip and unzip it under bin:
https://dxr.mozilla.org/mozilla-central/rev/ae37fdb042c07c0cb9d0afcd41372a96454f4f4f/testing/mozharness/mozharness/mozilla/testing/testbase.py#438

It would be nicer to have this listed in the test_packages.json file, maybe something like:
```
{
"jittest": [
  "target.common.tests.zip",
  ["target.jsshell.zip", "bin"]
]
}
```
Why can't we create a zip file which already has the correct path of all the files included?
You need to log in before you can comment on or make changes to this bug.