Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/cpp-brace-scopes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ describe('scanCppBraceScopes', () => {
});
});

describe.skipIf(!kernelAvailable)('C++ brace scopes: native kernel parity (error-extract hatch)', () => {
describe.skipIf(!kernelAvailable || process.env.CODEGRAPH_KERNEL === '0')('C++ brace scopes: native kernel parity (error-extract hatch)', () => {
beforeAll(async () => {
await initGrammars();
await loadGrammarsForLanguages(['cpp']);
Expand Down
3 changes: 2 additions & 1 deletion __tests__/kernel-deep-nesting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ function deepBraces(depth: number): string {
const ENV_KEYS = ['CODEGRAPH_KERNEL', 'CODEGRAPH_KERNEL_LANGS', 'CODEGRAPH_KERNEL_PATH'] as const;
let savedEnv: Record<string, string | undefined>;

describe.skipIf(!kernelBuilt)('kernel deep-nesting guard (#1581)', () => {
// CODEGRAPH_KERNEL=0 turns the kernel off: these assert what it does.
describe.skipIf(!kernelBuilt || process.env.CODEGRAPH_KERNEL === '0')('kernel deep-nesting guard (#1581)', () => {
let routed: Language[] = [];

beforeAll(async () => {
Expand Down
3 changes: 2 additions & 1 deletion __tests__/kernel-retry-materialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const KERNEL_PATH = path.join(
);
const kernelBuilt = fs.existsSync(KERNEL_PATH);

describe.skipIf(!kernelBuilt)('kernel buffer-transport storage (#1541)', () => {
// CODEGRAPH_KERNEL=0 turns the kernel off: these assert what it does.
describe.skipIf(!kernelBuilt || process.env.CODEGRAPH_KERNEL === '0')('kernel buffer-transport storage (#1541)', () => {
let dir: string;
let cg: CodeGraph;

Expand Down