diff --git a/meta-ohos-core/recipes-core/images/allscenarios-image-base-tests.bb b/meta-ohos-core/recipes-core/images/allscenarios-image-base-tests.bb index 70b01382f4a8faca11094c3cc5401c279cd4f7da..651398a7330be4830a6ce9ea9fc2a553a8184237 100644 --- a/meta-ohos-core/recipes-core/images/allscenarios-image-base-tests.bb +++ b/meta-ohos-core/recipes-core/images/allscenarios-image-base-tests.bb @@ -9,3 +9,9 @@ SUMMARY = "AllScenariOS image including the base OS software stack and tests" IMAGE_INSTALL_append = "\ packagegroup-allscenarios-tests \ " + +# This adds ptest packages to the image +EXTRA_IMAGE_FEATURES_append = " ptest-pkgs" + +# For testing purposes we want the ability to have a writable filesystem +IMAGE_FSTYPES_append = " ext4" diff --git a/meta-ohos-core/recipes-core/images/allscenarios-image-extra-tests.bb b/meta-ohos-core/recipes-core/images/allscenarios-image-extra-tests.bb index 6e950f0fef807669fd6e88883b7dd17935e9df6a..7f45beb958dcfbe65f118daae93d99c20b921460 100644 --- a/meta-ohos-core/recipes-core/images/allscenarios-image-extra-tests.bb +++ b/meta-ohos-core/recipes-core/images/allscenarios-image-extra-tests.bb @@ -10,3 +10,9 @@ software stack and tests" IMAGE_INSTALL_append = "\ packagegroup-allscenarios-tests \ " + +# This adds ptest packages to the image +EXTRA_IMAGE_FEATURES_append = " ptest-pkgs" + +# For testing purposes we want the ability to have a writable filesystem +IMAGE_FSTYPES_append = " ext4" diff --git a/meta-ohos-core/recipes-core/packagegroups/packagegroup-allscenarios-tests.bb b/meta-ohos-core/recipes-core/packagegroups/packagegroup-allscenarios-tests.bb index 24cf34c721ec9edc9422df14c56700f7eaef9779..07e0b4b38d7e33a277e460741a54c93d6def6190 100644 --- a/meta-ohos-core/recipes-core/packagegroups/packagegroup-allscenarios-tests.bb +++ b/meta-ohos-core/recipes-core/packagegroups/packagegroup-allscenarios-tests.bb @@ -12,4 +12,5 @@ PACKAGES = "\ RDEPENDS_packagegroup-allscenarios-tests = "\ ohos-xts-acts \ - " + ptest-runner \ + "