summaryrefslogtreecommitdiffstats
path: root/tools/test-server/test-server-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-server/test-server-main.cpp')
-rw-r--r--tools/test-server/test-server-main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp
index 633a23d7e..63535ec92 100644
--- a/tools/test-server/test-server-main.cpp
+++ b/tools/test-server/test-server-main.cpp
@@ -188,6 +188,9 @@ SlangResult innerMain(
} // namespace SlangCTool
+// SlangITool
+#include "../slang-test/slangi-tool-impl.h"
+
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!! TestServer !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
SlangResult TestServer::init(int argc, const char* const* argv)
@@ -308,6 +311,10 @@ TestServer::InnerMainFunc TestServer::getToolFunction(const String& name, Diagno
{
return &SlangCTool::innerMain;
}
+ else if (name == "slangi")
+ {
+ return &SlangITool::innerMain;
+ }
StringBuilder sharedLibToolBuilder;
sharedLibToolBuilder.append(name);