From e32f6033eeffd6a338aac41c9122bcddaaee6b1e Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Mon, 1 Feb 2021 20:28:26 +0100
Subject: [PATCH] Add meta-ohos-acts layer

This layer will contain application test suite for Open Harmony.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 meta-ohos-acts/README          | 33 +++++++++++++++++++++++++++++++++
 meta-ohos-acts/conf/layer.conf | 13 +++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-ohos-acts/README
 create mode 100644 meta-ohos-acts/conf/layer.conf

diff --git a/meta-ohos-acts/README b/meta-ohos-acts/README
new file mode 100644
index 00000000..bc50a269
--- /dev/null
+++ b/meta-ohos-acts/README
@@ -0,0 +1,33 @@
+This README file contains information on the contents of the meta-ohos-acts layer.
+
+Please see the corresponding sections below for details.
+
+Dependencies
+============
+
+This layer has no dependencies outside of poky.
+
+Patches
+=======
+
+Please submit any patches for meta-ohos-acts layer as pull requests against the
+meta-ohos repository at https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/
+
+Table of Contents
+=================
+
+  I. Adding the meta-ohos-acts layer to your build
+ II. Misc
+
+I. Adding the meta-ohos-acts layer to your build
+=================================================
+
+Run 'bitbake-layers add-layer meta-ohos-acts'
+
+II. Misc
+========
+
+This layer builds a subset of the ACTS (Application Compatibility Test Suite)
+for Open Harmony OS. Some tests are not ported yet. Some tests are excluded
+because they are duplicated in the greater bitbake ecosystem (e.g. LTP). Some
+tests are hardware or kernel specific and are not considered in this phase yet.
diff --git a/meta-ohos-acts/conf/layer.conf b/meta-ohos-acts/conf/layer.conf
new file mode 100644
index 00000000..18b1db93
--- /dev/null
+++ b/meta-ohos-acts/conf/layer.conf
@@ -0,0 +1,13 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-ohos-acts"
+BBFILE_PATTERN_meta-ohos-acts = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-ohos-acts = "6"
+
+LAYERDEPENDS_meta-ohos-acts = "core"
+LAYERSERIES_COMPAT_meta-ohos-acts = "dunfell"
-- 
GitLab