[yocto] [qa-tools][PATCH 2/3] testopia_update: Add suppor for Testopia products
jose.perez.carranza at linux.intel.com
jose.perez.carranza at linux.intel.com
Wed Feb 22 09:12:41 PST 2017
From: Jose Perez Carranza <jose.perez.carranza at linux.intel.com>
Add a list of supported products currently available on Testopia
Signed-off-by: Jose Perez Carranza <jose.perez.carranza at linux.intel.com>
---
testopia_update/product/__init__.py | 22 ++++++++++++++++++++++
testopia_update/product/adt.py | 4 ++++
testopia_update/product/bitbake.py | 4 ++++
testopia_update/product/crops.py | 4 ++++
testopia_update/product/eclipse_plugin.py | 4 ++++
testopia_update/product/esdk.py | 4 ++++
testopia_update/product/general_runtime.py | 4 ++++
testopia_update/product/kernel.py | 4 ++++
testopia_update/product/meta_yocto.py | 4 ++++
testopia_update/product/oe_core.py | 4 ++++
testopia_update/product/runtime.py | 4 ++++
11 files changed, 62 insertions(+)
create mode 100644 testopia_update/product/adt.py
create mode 100644 testopia_update/product/bitbake.py
create mode 100644 testopia_update/product/crops.py
create mode 100644 testopia_update/product/eclipse_plugin.py
create mode 100644 testopia_update/product/esdk.py
create mode 100644 testopia_update/product/general_runtime.py
create mode 100644 testopia_update/product/kernel.py
create mode 100644 testopia_update/product/meta_yocto.py
create mode 100644 testopia_update/product/oe_core.py
create mode 100644 testopia_update/product/runtime.py
diff --git a/testopia_update/product/__init__.py b/testopia_update/product/__init__.py
index d7cb984..e401824 100644
--- a/testopia_update/product/__init__.py
+++ b/testopia_update/product/__init__.py
@@ -187,13 +187,35 @@ class Product(object):
return missing
def get_products(testopia, opts, config, logger):
+
+
+ from . import bitbake
+ from . import meta_yocto
from . import bsp_qemu
+ from . import oe_core
+ from . import runtime
from . import toaster
+ from . import adt
+ from . import crops
+ from . import eclipse_plugin
+ from . import esdk
+ from . import kernel
+ from . import general_runtime
products = []
+ products.append(bitbake.BitbakeProduct(testopia, opts, logger, config))
products.append(bsp_qemu.BSPQEMUProduct(testopia, opts, logger, config))
+ products.append(meta_yocto.MetaYoctoProduct(testopia, opts, logger, config))
+ products.append(oe_core.OECoreProduct(testopia, opts, logger, config))
+ products.append(runtime.RuntimeProduct(testopia, opts, logger, config))
products.append(toaster.ToasterProduct(testopia, opts, logger, config))
+ products.append(adt.ADTProduct(testopia, opts, logger, config))
+ products.append(crops.CROPSProduct(testopia, opts, logger, config))
+ products.append(eclipse_plugin.EclipePluginProduct(testopia, opts, logger, config))
+ products.append(esdk.eSDKProduct(testopia, opts, logger, config))
+ products.append(kernel.KernelProduct(testopia, opts, logger, config))
+ products.append(general_runtime.GeneralRuntimeProduct(testopia, opts, logger, config))
return products
diff --git a/testopia_update/product/adt.py b/testopia_update/product/adt.py
new file mode 100644
index 0000000..73c82d3
--- /dev/null
+++ b/testopia_update/product/adt.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class ADTProduct(Product):
+ name = 'ADT'
diff --git a/testopia_update/product/bitbake.py b/testopia_update/product/bitbake.py
new file mode 100644
index 0000000..6eef591
--- /dev/null
+++ b/testopia_update/product/bitbake.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class BitbakeProduct(Product):
+ name = 'BitBake'
diff --git a/testopia_update/product/crops.py b/testopia_update/product/crops.py
new file mode 100644
index 0000000..90dcc69
--- /dev/null
+++ b/testopia_update/product/crops.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class CROPSProduct(Product):
+ name = 'CROPS'
diff --git a/testopia_update/product/eclipse_plugin.py b/testopia_update/product/eclipse_plugin.py
new file mode 100644
index 0000000..a88ab8a
--- /dev/null
+++ b/testopia_update/product/eclipse_plugin.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class EclipePluginProduct(Product):
+ name = 'Eclipse Plugin'
diff --git a/testopia_update/product/esdk.py b/testopia_update/product/esdk.py
new file mode 100644
index 0000000..8b004dd
--- /dev/null
+++ b/testopia_update/product/esdk.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class eSDKProduct(Product):
+ name = 'eSDK'
diff --git a/testopia_update/product/general_runtime.py b/testopia_update/product/general_runtime.py
new file mode 100644
index 0000000..dac643e
--- /dev/null
+++ b/testopia_update/product/general_runtime.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class GeneralRuntimeProduct(Product):
+ name = 'General Runtime'
diff --git a/testopia_update/product/kernel.py b/testopia_update/product/kernel.py
new file mode 100644
index 0000000..b2061c5
--- /dev/null
+++ b/testopia_update/product/kernel.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class KernelProduct(Product):
+ name = 'Kernel'
diff --git a/testopia_update/product/meta_yocto.py b/testopia_update/product/meta_yocto.py
new file mode 100644
index 0000000..5b9dc53
--- /dev/null
+++ b/testopia_update/product/meta_yocto.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class MetaYoctoProduct(Product):
+ name = 'Meta-yocto'
diff --git a/testopia_update/product/oe_core.py b/testopia_update/product/oe_core.py
new file mode 100644
index 0000000..d2b3042
--- /dev/null
+++ b/testopia_update/product/oe_core.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class OECoreProduct(Product):
+ name = 'OE-Core'
diff --git a/testopia_update/product/runtime.py b/testopia_update/product/runtime.py
new file mode 100644
index 0000000..ec4ff0c
--- /dev/null
+++ b/testopia_update/product/runtime.py
@@ -0,0 +1,4 @@
+from testopia_update.product import Product
+
+class RuntimeProduct(Product):
+ name = 'Runtime'
--
2.1.4
More information about the yocto
mailing list