Visitar URL original
test: skip `test-sqlite-extensions` when SQLite is not built by us · nodejs/node@079cee0 · GitHub
The Wayback Machine - https://web.archive.org/web/20250116065521/https://github.com/nodejs/node/commit/079cee0609
Skip to content

Commit

Permalink
test: skip test-sqlite-extensions when SQLite is not built by us
Browse files Browse the repository at this point in the history
PR-URL: #56341
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
aduh95 committed Jan 2, 2025
1 parent 959f133 commit 079cee0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sqlite/test-sqlite-extensions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import test from 'node:test';
import fs from 'node:fs';
import childProcess from 'child_process';

if (process.config.variables.node_shared_sqlite) {
common.skip('Missing libsqlite_extension binary');
}

// Lib extension binary is named differently on different platforms
function resolveBuiltBinary(binary) {
const targetFile = fs.readdirSync(path.dirname(process.execPath)).find((file) => file.startsWith(binary));
Expand Down

0 comments on commit 079cee0

Please sign in to comment.