gigiblender commented on code in PR #12178:
URL: https://github.com/apache/tvm/pull/12178#discussion_r931570525


##########
tests/scripts/ci.py:
##########
@@ -595,11 +601,25 @@ def add_subparser(
             "frontend": ("run frontend tests", 
["./tests/scripts/task_python_frontend_cpu.sh"]),
         },
     ),
+    generate_command(
+        name="minimal",
+        help="Run minimal CPU build and test(s)",
+        options={
+            "cpp": CPP_UNITTEST,
+            "unittest": (
+                "run unit tests",
+                [
+                    "./tests/scripts/task_python_unittest.sh",
+                ],
+            ),
+        },
+    ),
     generate_command(
         name="i386",
         help="Run i386 build and test(s)",
         options={
             "cpp": CPP_UNITTEST,
+            "micro_cpp": CPP_MICRO_UNITTEST,

Review Comment:
   The `_` are replaced with `-` by the `cli_name` function, so the command 
line flag available and shown in `--help` is `micro-cpp`.
   
   Strangely, if I replace `micro_cpp` with `micro-cpp` then calling, for 
example, `python tests/scripts/ci.py cpu --micro-cpp` will only run the build. 
This might be a limitation in how we generate the argument parsers.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to