]> granicus.if.org Git - esp-idf/commitdiff
CI: fix C++ unit test cases not executed by CI
authorHe Yin Ling <heyinling@espressif.com>
Thu, 23 Nov 2017 08:51:28 +0000 (16:51 +0800)
committerHe Yin Ling <heyinling@espressif.com>
Thu, 23 Nov 2017 09:14:23 +0000 (17:14 +0800)
.gitlab-ci.yml
tools/unit-test-app/tools/UnitTestParser.py

index 1171543f27a51332c42e8028904e0a3e0b0d62b5..b327068c2a3d4a4609992b2bdef4f90c1fba23f5 100644 (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:
index 3ab911a8fe39feaff4b76682f78d380550a312a9..c296077d310b9f995a16b288b81677fe2c41b6f9 100644 (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)