Merge branch 'bugfix/cpp_unit_tests_not_executed_by_ci' into 'master'

CI: fix C++ unit test cases not executed by CI

See merge request !1589
This commit is contained in:
Ivan Grokhotkov 2017-11-27 12:48:12 +08:00
commit 067c0e1ffe
2 changed files with 22 additions and 1 deletions

View File

@ -625,6 +625,13 @@ UT_001_08:
- UT_T1_1
- UT_default
UT_001_09:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T1_1
- UT_default
UT_002_01:
<<: *unit_test_template
tags:
@ -681,6 +688,13 @@ UT_002_08:
- UT_T1_1
- UT_release
UT_002_09:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T1_1
- UT_release
UT_003_01:
<<: *unit_test_template
tags:
@ -793,6 +807,13 @@ UT_004_08:
- UT_T1_1
- UT_psram
UT_004_09:
<<: *unit_test_template
tags:
- ESP32_IDF
- UT_T1_1
- UT_psram
IT_001_01:
<<: *test_template
tags:

View File

@ -62,7 +62,7 @@ class Parser(object):
:param elf_file: elf file path
:param app_name: built unit test app name
"""
subprocess.check_output('xtensa-esp32-elf-objdump -t {} | grep \ test_desc > case_address.tmp'.format(elf_file),
subprocess.check_output('xtensa-esp32-elf-objdump -t {} | grep test_desc > case_address.tmp'.format(elf_file),
shell=True)
subprocess.check_output('xtensa-esp32-elf-objdump -s {} > section_table.tmp'.format(elf_file), shell=True)