Commits on Source (5)
-
Caleb Connolly authored
Commit 826bb4f2 (pmb: Properly type Bootimg (MR 2464)) broke the bootimg_analyze command since some assumptions in whether the bootimg dictionary had empty keys or non-existent keys were changed without their usage being updated. Fix this and apply a trivial cleanup to aportgen. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
make sure that calls to get_upstream_remote() will succeed by setting pmb.config.git_repos() for the entire run. This might pollute some other tests... TODO: make less things depend on pmaports being cloned... Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Add some unit tests to ensure that the parser correctly detects boot images with header v0, 2, and 3. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Add some tests to ensure that we spit out correct deviceinfo options for boot images of header v0, 2, and 3. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
Showing
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- pmb/aportgen/device.py 10 additions, 24 deletionspmb/aportgen/device.py
- pmb/aportgen/test_device.py 102 additions, 0 deletionspmb/aportgen/test_device.py
- pmb/conftest.py 9 additions, 6 deletionspmb/conftest.py
- pmb/parse/bootimg.py 6 additions, 6 deletionspmb/parse/bootimg.py
- pmb/parse/test_bootimg.py 104 additions, 0 deletionspmb/parse/test_bootimg.py
pmb/aportgen/test_device.py
0 → 100644
pmb/parse/test_bootimg.py
0 → 100644