as-test 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +4 -9
- package/assembly/index.ts +10 -15
- package/assembly/src/expectation.ts +11 -11
- package/assembly/src/fuzz.ts +11 -7
- package/assembly/src/log.ts +2 -2
- package/assembly/src/suite.ts +5 -5
- package/assembly/src/tests.ts +8 -8
- package/assembly/util/wipc.ts +5 -1
- package/bin/build-worker-pool.js +146 -142
- package/bin/build-worker.js +37 -34
- package/bin/commands/build-core.js +577 -465
- package/bin/commands/build.js +49 -29
- package/bin/commands/clean-core.js +120 -113
- package/bin/commands/clean.js +14 -8
- package/bin/commands/doctor-core.js +288 -289
- package/bin/commands/doctor.js +1 -1
- package/bin/commands/fuzz-core.js +467 -414
- package/bin/commands/fuzz.js +27 -10
- package/bin/commands/init-core.js +905 -794
- package/bin/commands/init.js +2 -2
- package/bin/commands/run-core.js +2675 -2344
- package/bin/commands/run.js +43 -25
- package/bin/commands/test.js +56 -32
- package/bin/commands/web-runner-source.js +1 -1
- package/bin/commands/web-session.js +516 -525
- package/bin/coverage-points.js +363 -341
- package/bin/crash-store.js +56 -66
- package/bin/index.js +4092 -3150
- package/bin/reporters/default.js +1090 -890
- package/bin/reporters/tap.js +319 -325
- package/bin/types.js +67 -67
- package/bin/util.js +1290 -1239
- package/bin/wipc.js +70 -73
- package/lib/build/index.d.ts +3 -1
- package/lib/build/index.js +1039 -1034
- package/lib/build/web-runner/client.js +1 -1
- package/lib/build/web-runner/html.js +1 -1
- package/lib/build/web-runner/worker.js +1 -1
- package/package.json +6 -3
- package/transform/lib/log.js +9 -5
- package/assembly/util/json.ts +0 -112
package/bin/commands/fuzz.js
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
export async function executeFuzzCommand(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export async function executeFuzzCommand(
|
|
2
|
+
rawArgs,
|
|
3
|
+
configPath,
|
|
4
|
+
selectedModes,
|
|
5
|
+
deps,
|
|
6
|
+
) {
|
|
7
|
+
const commandArgs = deps.resolveCommandArgs(rawArgs, "fuzz");
|
|
8
|
+
const fuzzerSelectors = deps.resolveFuzzerSelectors(rawArgs, "fuzz");
|
|
9
|
+
const listFlags = deps.resolveListFlags(rawArgs, "fuzz");
|
|
10
|
+
const modeTargets = deps.resolveExecutionModes(configPath, selectedModes);
|
|
11
|
+
if (listFlags.list || listFlags.listModes) {
|
|
12
|
+
await deps.listExecutionPlan(
|
|
13
|
+
"fuzz",
|
|
14
|
+
configPath,
|
|
15
|
+
commandArgs,
|
|
16
|
+
modeTargets,
|
|
17
|
+
listFlags,
|
|
18
|
+
);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
await deps.runFuzzModes(
|
|
22
|
+
configPath,
|
|
23
|
+
commandArgs,
|
|
24
|
+
fuzzerSelectors,
|
|
25
|
+
modeTargets,
|
|
26
|
+
rawArgs,
|
|
27
|
+
);
|
|
11
28
|
}
|