Jelajahi Sumber

tools: add checker for empty app in nsdk_cli configs

Signed-off-by: Huaqi Fang <578567190@qq.com>
Huaqi Fang 1 tahun lalu
induk
melakukan
2cd2b40ae9

+ 6 - 0
tools/scripts/nsdk_cli/configs/application.json

@@ -52,6 +52,12 @@
                 "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
             }
         },
+        "application/baremetal/empty": {
+            "build_config" : {},
+            "checks": {
+                "PASS": ["CPU HartID"]
+            }
+        },
         "application/baremetal/helloworld": {
             "build_config" : {},
             "checks": {

+ 6 - 0
tools/scripts/nsdk_cli/configs/fpgaci/bareapp/app.json

@@ -63,6 +63,12 @@
                 "PASS": ["19: Hello World From Nuclei RISC-V Processor!"]
             }
         },
+        "application/baremetal/empty": {
+            "build_config" : {},
+            "checks": {
+                "PASS": ["CPU HartID"]
+            }
+        },
         "application/baremetal/demo_eclic": {
             "build_config" : {},
             "checks": {

+ 6 - 0
tools/scripts/nsdk_cli/configs/fpgaci/clibapp/app.json

@@ -57,6 +57,12 @@
                 "PASS": ["MTimer msip and mtip interrupt test finish and pass"]
             }
         },
+        "application/baremetal/empty": {
+            "build_config" : {},
+            "checks": {
+                "PASS": ["CPU HartID"]
+            }
+        },
         "application/baremetal/helloworld": {
             "build_config" : {},
             "checks": {