mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-13 13:50:21 +00:00
CI: test-apps introduction
Introducing feature of adding arbitrary projects which could be build or executed in the CI for the only purpose as testing Closes IDF-641
This commit is contained in:
@@ -82,8 +82,19 @@ if __name__ == '__main__':
|
||||
help="output path of config files")
|
||||
parser.add_argument("--pipeline_id", "-p", type=int, default=None,
|
||||
help="pipeline_id")
|
||||
parser.add_argument("--job-prefix",
|
||||
help="prefix of the test job name in CI yml file")
|
||||
parser.add_argument("--test-case-file-pattern",
|
||||
help="file name pattern used to find Python test case files")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.job_prefix:
|
||||
CIExampleAssignTest.CI_TEST_JOB_PATTERN = re.compile(r"^{}.+".format(args.job_prefix))
|
||||
|
||||
assign_test = CIExampleAssignTest(args.test_case, args.ci_config_file, case_group=ExampleGroup)
|
||||
if args.test_case_file_pattern:
|
||||
assign_test.test_case_file_pattern = args.test_case_file_pattern
|
||||
|
||||
assign_test = CIExampleAssignTest(args.test_case, args.ci_config_file, case_group=ExampleGroup)
|
||||
assign_test.assign_cases()
|
||||
assign_test.output_configs(args.output_path)
|
||||
|
Reference in New Issue
Block a user