summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-07-19 13:55:01 -0400
committerGitHub <noreply@github.com>2022-07-19 13:55:01 -0400
commit798db8d2bef31355c8aba5ba926556b4a297bc5f (patch)
treec4a815e219a43cf94146fbda9484b11de9361932 /tools
parent5b4f35b8d00661852c607a49d81c590d4050a166 (diff)
Yet more improvements/fixes to cpu-target.md (#2330)
* #include an absolute path didn't work - because paths were taken to always be relative. * Small improvements to cpu-target documentation. * More improvements to cpu-target.md doc. * More CPU target doc improvements. * More improvements around cpu-target.md * More fixes and improvements. * Added test for behavior of actual global and reflection. * Add category to determine cpu word size, so that reflection tests can target width.
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-test/slang-test-main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp
index a3749f784..607dfb16c 100644
--- a/tools/slang-test/slang-test-main.cpp
+++ b/tools/slang-test/slang-test-main.cpp
@@ -4108,7 +4108,13 @@ SlangResult innerMain(int argc, char** argv)
#endif
#if SLANG_UNIX_FAMILY
- auto unixCatagory = categorySet.add("unix", fullTestCategory);
+ auto unixCategory = categorySet.add("unix", fullTestCategory);
+#endif
+
+#if SLANG_PTR_IS_64
+ auto ptr64Category = categorySet.add("64-bit", fullTestCategory);
+#else
+ auto ptr32Category = categorySet.add("32-bit", fullTestCategory);
#endif
// An un-categorized test will always belong to the `full` category