mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-03 14:45:49 +00:00
maint: integrate reviewed contribution #3707
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -55,6 +55,7 @@ function classify(python, requests) {
|
||||
const result = spawnSync(python, ["-c", HARNESS, workspace, JSON.stringify(requests)], {
|
||||
input: workspacePathSnippet(),
|
||||
encoding: "utf8",
|
||||
env: { ...process.env, PYTHONIOENCODING: "utf-8", PYTHONUTF8: "1" },
|
||||
});
|
||||
assert.strictEqual(result.status, 0, `python harness failed:\n${result.stderr}`);
|
||||
return JSON.parse(result.stdout);
|
||||
|
||||
@@ -9,7 +9,7 @@ const SCRIPT = path.join(ROOT, 'scripts/ci/validate-context-profiles.js');
|
||||
const tests = [
|
||||
['validates every profile against every declared target in read-only mode', () => {
|
||||
const result = spawnSync(process.execPath, [SCRIPT, '--json'], {
|
||||
cwd: ROOT, encoding: 'utf8', timeout: 30_000,
|
||||
cwd: ROOT, encoding: 'utf8', timeout: 60_000,
|
||||
});
|
||||
assert.strictEqual(result.status, 0, result.stderr);
|
||||
const output = JSON.parse(result.stdout);
|
||||
|
||||
Reference in new issue
Block a user