mirror of
https://github.com/oven-sh/bun
synced 2026-02-05 08:28:55 +00:00
Compare commits
5 Commits
dylan/pyth
...
nektro-pat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8376f2e1f | ||
|
|
93b7cc3c60 | ||
|
|
13eafbd0a6 | ||
|
|
dd21a2f4ae | ||
|
|
a5af33c14c |
@@ -81,7 +81,7 @@ function getNodeParallelTestTimeout(testPath) {
|
||||
return 90_000;
|
||||
}
|
||||
if (!isCI) return 60_000; // everything slower in debug mode
|
||||
if (options["step"]?.includes("-asan-")) return 60_000;
|
||||
if (isASAN) return 60_000;
|
||||
return 20_000;
|
||||
}
|
||||
|
||||
@@ -169,8 +169,12 @@ const { values: options, positionals: filters } = parseArgs({
|
||||
},
|
||||
},
|
||||
});
|
||||
startGroup("CLI Options", () => {
|
||||
console.log(options);
|
||||
});
|
||||
|
||||
const cliOptions = options;
|
||||
const isASAN = options["step"]?.includes("-asan-");
|
||||
|
||||
if (cliOptions.junit) {
|
||||
try {
|
||||
@@ -594,11 +598,11 @@ async function runTests() {
|
||||
NO_COLOR: "1",
|
||||
BUN_DEBUG_QUIET_LOGS: "1",
|
||||
};
|
||||
if ((basename(execPath).includes("asan") || !isCI) && shouldValidateExceptions(testPath)) {
|
||||
if ((isASAN || !isCI) && shouldValidateExceptions(testPath)) {
|
||||
env.BUN_JSC_validateExceptionChecks = "1";
|
||||
env.BUN_JSC_dumpSimulatedThrows = "1";
|
||||
}
|
||||
if ((basename(execPath).includes("asan") || !isCI) && shouldValidateLeakSan(testPath)) {
|
||||
if ((isASAN || !isCI) && shouldValidateLeakSan(testPath)) {
|
||||
env.BUN_DESTRUCT_VM_ON_EXIT = "1";
|
||||
env.ASAN_OPTIONS = "allow_user_segv_handler=1:disable_coredump=0:detect_leaks=1:abort_on_error=1";
|
||||
// prettier-ignore
|
||||
@@ -1309,12 +1313,15 @@ async function spawnBun(execPath, { args, cwd, timeout, env, stdout, stderr }) {
|
||||
*/
|
||||
async function spawnBunTest(execPath, testPath, opts = { cwd }) {
|
||||
const timeout = getTestTimeout(testPath);
|
||||
const perTestTimeout = Math.ceil(timeout / 2);
|
||||
const absPath = join(opts["cwd"], testPath);
|
||||
const isReallyTest = isTestStrict(testPath) || absPath.includes("vendor");
|
||||
const args = opts["args"] ?? [];
|
||||
|
||||
const testArgs = ["test", ...args, `--timeout=${perTestTimeout}`];
|
||||
const testArgs = ["test", ...args];
|
||||
if (process.env.BUILDKITE_STEP_IDENTIFIER?.includes("-ubuntu-")) testArgs.push(`--timeout=${10_000}`);
|
||||
if (process.env.BUILDKITE_STEP_IDENTIFIER?.includes("-alpine-")) testArgs.push(`--timeout=${10_000}`);
|
||||
if (process.env.BUILDKITE_STEP_IDENTIFIER?.startsWith("windows-")) testArgs.push(`--timeout=${10_000}`);
|
||||
if (isASAN) testArgs.push(`--timeout=${30_000}`);
|
||||
|
||||
// This will be set if a JUnit file is generated
|
||||
let junitFilePath = null;
|
||||
@@ -1340,11 +1347,11 @@ async function spawnBunTest(execPath, testPath, opts = { cwd }) {
|
||||
GITHUB_ACTIONS: "true", // always true so annotations are parsed
|
||||
...opts["env"],
|
||||
};
|
||||
if ((basename(execPath).includes("asan") || !isCI) && shouldValidateExceptions(relative(cwd, absPath))) {
|
||||
if ((isASAN || !isCI) && shouldValidateExceptions(relative(cwd, absPath))) {
|
||||
env.BUN_JSC_validateExceptionChecks = "1";
|
||||
env.BUN_JSC_dumpSimulatedThrows = "1";
|
||||
}
|
||||
if ((basename(execPath).includes("asan") || !isCI) && shouldValidateLeakSan(relative(cwd, absPath))) {
|
||||
if ((isASAN || !isCI) && shouldValidateLeakSan(relative(cwd, absPath))) {
|
||||
env.BUN_DESTRUCT_VM_ON_EXIT = "1";
|
||||
env.ASAN_OPTIONS = "allow_user_segv_handler=1:disable_coredump=0:detect_leaks=1:abort_on_error=1";
|
||||
// prettier-ignore
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// crash inside uv_sleep
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// crash inside uv_async_init
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test.todoIf(["test.js", "test-gcable.js", "test-gcable-callback.js"].includes(file))(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test.todoIf(["test.js"].includes(file))(file, () => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { build, run } from "../../../harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// crash inside uv_queue_work
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test.todoIf(["test.js", "test2.js", "test_threads.js"].includes(file))(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { test } from "bun:test";
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// crash inside uv_thread_create
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test.todoIf(["test-async-hooks.js"].includes(file))(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// Missing expected exception.
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { isMacOS } from "harness";
|
||||
import { isMacOS, isWindows } from "harness";
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test.todoIf(["test.js"].includes(file) && isMacOS)(file, () => {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// crash inside uv_thread_create
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// unsupported uv function: uv_check_init
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// unsupported uv function: uv_sleep
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// AssertionError: Missing expected exception (DataCloneError).
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
// Assertion failed: (status == napi_pending_exception), function Test, file test_worker_terminate.c, line 21.
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { basename, dirname, sep } from "node:path";
|
||||
import { build, run } from "../../../harness";
|
||||
import { isWindows } from "harness";
|
||||
|
||||
test("build", async () => {
|
||||
await build(import.meta.dir);
|
||||
});
|
||||
}, isWindows ? 60_000 : undefined);
|
||||
|
||||
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
||||
test(file, () => {
|
||||
|
||||
Reference in New Issue
Block a user