@@ -30,7 +30,7 @@ Each testcase.ini block can define the following key/value pairs:
30
30
run under certain circumstances, like daily builds. These test cases
31
31
are still compiled.
32
32
33
- kernel = <nano|micro>
33
+ kernel = <nano|micro|unified >
34
34
Specify the kernel being tested instead of relying on parsing
35
35
Makefile for KERNEL_TYPE
36
36
@@ -1040,7 +1040,7 @@ class Platform:
1040
1040
if plat_dict ["supported_toolchains" ]:
1041
1041
self .supported_toolchains = plat_dict ["supported_toolchains" ]
1042
1042
# Gets populated in a separate step
1043
- self .defconfig = {"micro" : None , "nano" : None }
1043
+ self .defconfig = {"micro" : None , "nano" : None , "unified" : None }
1044
1044
pass
1045
1045
1046
1046
def set_defconfig (self , ktype , defconfig ):
@@ -1049,7 +1049,7 @@ class Platform:
1049
1049
We do this in another step because all the defconfigs are generated
1050
1050
at once from a sub-make, see TestSuite constructor
1051
1051
1052
- @param ktype Kernel type, either "micro" or "nano"
1052
+ @param ktype Kernel type, either "micro" or "nano" or "unified"
1053
1053
@param defconfig Dictionary containing defconfig information
1054
1054
"""
1055
1055
self .defconfig [ktype ] = defconfig
@@ -1059,7 +1059,7 @@ class Platform:
1059
1059
in the kernel defconfig used for this arch/platform. Used to identify
1060
1060
platform features.
1061
1061
1062
- @param ktype Kernel type, either "micro" or "nano"
1062
+ @param ktype Kernel type, either "micro" or "nano" or "unified"
1063
1063
@return dictionary corresponding to the defconfig contents. unset
1064
1064
values will not be defined
1065
1065
"""
@@ -1102,7 +1102,7 @@ class Architecture:
1102
1102
class TestCase :
1103
1103
"""Class representing a test application
1104
1104
"""
1105
- makefile_re = re .compile ("\s*KERNEL_TYPE\s*[?=]+\s*(micro|nano)\s*" )
1105
+ makefile_re = re .compile ("\s*KERNEL_TYPE\s*[?=]+\s*(micro|nano|unified )\s*" )
1106
1106
1107
1107
def __init__ (self , testcase_root , workdir , name , tc_dict , inifile ):
1108
1108
"""TestCase constructor.
0 commit comments