Skip to content

Commit ca6ed21

Browse files
committedJan 31, 2025
test: skip test-sqlite-extensions when SQLite is not built by us
PR-URL: #56341 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 8ffeb8b commit ca6ed21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎test/sqlite/test-sqlite-extensions.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import test from 'node:test';
77
import fs from 'node:fs';
88
import childProcess from 'child_process';
99

10+
if (process.config.variables.node_shared_sqlite) {
11+
common.skip('Missing libsqlite_extension binary');
12+
}
13+
1014
// Lib extension binary is named differently on different platforms
1115
function resolveBuiltBinary(binary) {
1216
const targetFile = fs.readdirSync(path.dirname(process.execPath)).find((file) => file.startsWith(binary));

0 commit comments

Comments
 (0)
Please sign in to comment.