浏览代码

Expand documentation comment for `ODIN_TEST_NAMES`

Feoramund 1 年之前
父节点
当前提交
45fa9d8148
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/testing/runner.odin

+ 3 - 0
core/testing/runner.odin

@@ -26,6 +26,9 @@ ALWAYS_REPORT_MEMORY  : bool   : #config(ODIN_TEST_ALWAYS_REPORT_MEMORY, false)
 // Specify how much memory each thread allocator starts with.
 PER_THREAD_MEMORY     : int    : #config(ODIN_TEST_THREAD_MEMORY, mem.ROLLBACK_STACK_DEFAULT_BLOCK_SIZE)
 // Select a specific set of tests to run by name.
+// Each test is separated by a comma and may optionally include the package name.
+// This may be useful when running tests on multiple packages with `-all-packages`.
+// The format is: `package.test_name,test_name_only,...`
 TEST_NAMES            : string : #config(ODIN_TEST_NAMES, "")
 // Show the fancy animated progress report.
 FANCY_OUTPUT          : bool   : #config(ODIN_TEST_FANCY, true)