From 6e8618ae0f55bcaa4cfaaa579b4e21f9f74b117d Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 13 Apr 2023 18:43:23 +0100 Subject: refactor(cli): move runTests() and runBenchmarks() to rust (#18563) Stores the test/bench functions in rust op state during registration. The functions are wrapped in JS first so that they return a directly convertible `TestResult`/`BenchResult`. Test steps are still mostly handled in JS since they are pretty much invoked by the user. Allows removing a bunch of infrastructure for communicating between JS and rust. Allows using rust utilities for things like shuffling tests (`Vec::shuffle`). We can progressively move op and resource sanitization to rust as well. Fixes #17122. Fixes #17312. --- cli/tests/testdata/test/text.out | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/tests/testdata/test/text.out') diff --git a/cli/tests/testdata/test/text.out b/cli/tests/testdata/test/text.out index 354dc24b5..f1b7f7d01 100644 --- a/cli/tests/testdata/test/text.out +++ b/cli/tests/testdata/test/text.out @@ -1,4 +1,3 @@ -running 0 tests from ./test/text.md ok | 0 passed | 0 failed ([WILDCARD]) -- cgit v1.2.3