File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import sys from './helper/sys.js';
2121
2222function usage ( rc : number ) : never {
2323 console . log ( `Usage:
24- tools/run_ ${ sys . type } [OPTIONS...]
24+ tools/server [OPTIONS...]
2525Options:
2626 --colors Enable ANSI colors in output.
2727 --compat Run tests in compatibility mode.
@@ -33,8 +33,10 @@ Options:
3333 --u Flag to set on the gpu-provider as <flag>=<value>
3434
3535Provides an HTTP server used for running tests via an HTTP RPC interface
36- To run a test, perform an HTTP GET or POST at the URL:
37- http://localhost:port/run?<test-name>
36+ First, load some tree or subtree of tests:
37+ http://localhost:port/load?unittests:basic:*
38+ To run a single test case, perform an HTTP GET or POST at the URL:
39+ http://localhost:port/run?unittests:basic:test,sync
3840To shutdown the server perform an HTTP GET or POST at the URL:
3941 http://localhost:port/terminate
4042` ) ;
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+
3+ // Launch a server that runs tests server-side on demand.
4+
5+ require ( '../src/common/tools/setup-ts-in-node.js' ) ;
6+ require ( '../src/common/runtime/server.ts' ) ;
You can’t perform that action at this time.
0 commit comments