app.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. {
  2. "run_config": {
  3. "target" : "hardware",
  4. "hardware" : {
  5. "baudrate": 115200,
  6. "timeout": 180
  7. },
  8. "qemu": {
  9. "qemu32": "qemu-system-riscv32",
  10. "qemu64": "qemu-system-riscv64",
  11. "timeout": 120
  12. },
  13. "ncycm": {
  14. "timeout": 1200
  15. }
  16. },
  17. "copy_objects": false,
  18. "build_target": "clean all",
  19. "build_config": {
  20. },
  21. "parallel" : "-j",
  22. "checks": {
  23. "PASS": [],
  24. "FAIL": ["MEPC"]
  25. },
  26. "appdirs": [
  27. "application/baremetal/benchmark"
  28. ],
  29. "appdirs_ignore": [
  30. "application/baremetal/dsp_examples",
  31. "application/baremetal/Internal"
  32. ],
  33. "appconfig": {
  34. "application/baremetal/benchmark/dhrystone": {
  35. "build_config" : {},
  36. "checks": {
  37. "PASS": ["CSV, Dhrystone"]
  38. }
  39. },
  40. "application/baremetal/benchmark/whetstone": {
  41. "build_config" : {},
  42. "checks": {
  43. "PASS": ["CSV, Whetstone"]
  44. }
  45. },
  46. "application/baremetal/benchmark/dhrystone_v2.2": {
  47. "build_config" : {},
  48. "checks": {
  49. "PASS": ["CSV, Dhrystone_v2.2"]
  50. }
  51. },
  52. "application/baremetal/benchmark/whetstone_v1.2": {
  53. "build_config" : {},
  54. "checks": {
  55. "PASS": ["CSV, Whetstone_v1.2"]
  56. }
  57. },
  58. "application/baremetal/benchmark/coremark": {
  59. "build_config" : {},
  60. "checks": {
  61. "PASS": ["CSV, CoreMark"]
  62. }
  63. },
  64. "application/baremetal/demo_timer": {
  65. "build_config" : {},
  66. "checks": {
  67. "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
  68. }
  69. },
  70. "application/baremetal/helloworld": {
  71. "build_config" : {},
  72. "checks": {
  73. "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
  74. }
  75. },
  76. "application/baremetal/cpuinfo": {
  77. "build_config" : {},
  78. "checks": {
  79. "PASS": ["End of Nuclei CPU INFO"]
  80. }
  81. },
  82. "application/baremetal/demo_eclic": {
  83. "build_config" : {},
  84. "checks": {
  85. "PASS": ["software interrupt hit 5 times"]
  86. }
  87. },
  88. "application/baremetal/demo_smode_eclic": {
  89. "build_config" : {},
  90. "checks": {
  91. "PASS": ["[IN S-MODE SOFTWARE INTERRUPT]software interrupt hit 10 times", "[ERROR]__TEE_PRESENT"]
  92. }
  93. },
  94. "application/baremetal/demo_spmp": {
  95. "build_config" : {},
  96. "checks": {
  97. "PASS": ["Won't run here if violates L U\\R\\W\\X permission check!", "[ERROR]__TEE_PRESENT"]
  98. }
  99. },
  100. "application/baremetal/demo_smpu": {
  101. "build_config" : {},
  102. "checks": {
  103. "PASS": ["Won't run here if violates rules check!", "[ERROR]__TEE_PRESENT"]
  104. }
  105. },
  106. "application/baremetal/demo_cache": {
  107. "build_config" : {},
  108. "checks": {
  109. "PASS": [
  110. "[ERROR]__CCM_PRESENT must be defined as 1 in <Device>.h!",
  111. "DCache not present in CPU!",
  112. "dcachemiss_readonebyte",
  113. "when mapped value in memory has changed"
  114. ]
  115. }
  116. },
  117. "application/baremetal/demo_cidu": {
  118. "build_config" : {},
  119. "checks": {
  120. "PASS": ["[ERROR]__CIDU_PRESENT must be defined as 1 in <Device>.h!"]
  121. }
  122. },
  123. "application/baremetal/demo_pmp": {
  124. "build_config" : {},
  125. "checks": {
  126. "PASS": ["Won't run here if violates L R\\W\\X permission check!"]
  127. }
  128. },
  129. "application/baremetal/demo_nice": {
  130. "build_config" : {},
  131. "checks": {
  132. "PASS": ["PASS"],
  133. "FAIL": ["FAIL", "MEPC"]
  134. }
  135. },
  136. "application/baremetal/smphello": {
  137. "build_config" : {},
  138. "checks": {
  139. "PASS": ["All harts boot successfully!"]
  140. }
  141. },
  142. "application/baremetal/lowpower": {
  143. "build_config" : {},
  144. "checks": {
  145. "PASS": ["CSV, WFI Cost,"]
  146. }
  147. },
  148. "application/baremetal/demo_dsp": {
  149. "build_config" : {},
  150. "checks": {
  151. "PASS": ["all test are passed"],
  152. "FAIL": ["test error apprears", "MEPC"]
  153. }
  154. },
  155. "application/freertos/demo": {
  156. "build_config" : {},
  157. "checks": {
  158. "PASS": ["timers Callback 3"]
  159. }
  160. },
  161. "application/rtthread/demo": {
  162. "build_config" : {},
  163. "checks": {
  164. "PASS": ["Main thread count: 3"]
  165. }
  166. },
  167. "application/rtthread/msh": {
  168. "build_config" : {},
  169. "checks": {
  170. "PASS": ["msh >", "Hello RT-Thread!"]
  171. }
  172. },
  173. "application/ucosii/demo": {
  174. "build_config" : {},
  175. "checks": {
  176. "PASS": ["task3 is running... 3"]
  177. }
  178. },
  179. "test/core": {
  180. "build_config" : {},
  181. "checks": {
  182. "PASS": [", 0 failed"],
  183. "FAIL": ["[FAIL]", "MEPC"]
  184. }
  185. }
  186. }
  187. }