mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-26 03:55:55 +03:00
fix(db-load-xml): -AllExtensions с загрузкой частями — отказ на обоих движках
Ветка ibcmd молча игнорировала список и загружала все расширения целиком. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ANXwbMUhuRFSCsq2RgmTTm
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
80618f0b93
commit
647c633a9b
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "Ошибка: -AllExtensions с загрузкой частями и на ibcmd — не полный импорт всех расширений (fake platform)",
|
||||
"preRun": [
|
||||
{
|
||||
"writeFile": {
|
||||
"path": "ibcmd.cmd",
|
||||
"content": "@echo off\r\necho ARGS: %*\r\nexit /b 0\r\n"
|
||||
}
|
||||
},
|
||||
{
|
||||
"writeFile": {
|
||||
"path": "ib/1Cv8.1CD",
|
||||
"content": "stub"
|
||||
}
|
||||
},
|
||||
{
|
||||
"writeFile": {
|
||||
"path": "src/CommonModules/Модуль.xml",
|
||||
"content": "<?xml version=\"1.0\"?><MetaDataObject/>"
|
||||
}
|
||||
}
|
||||
],
|
||||
"args_extra": [
|
||||
"-V8Path",
|
||||
"{workDir}\\ibcmd.cmd",
|
||||
"-InfoBasePath",
|
||||
"{workDir}\\ib",
|
||||
"-ConfigDir",
|
||||
"{workDir}\\src",
|
||||
"-Files",
|
||||
"CommonModules/Модуль.xml",
|
||||
"-AllExtensions"
|
||||
],
|
||||
"expectError": true,
|
||||
"expect": {
|
||||
"stdoutContains": "-AllExtensions cannot be combined with a partial load",
|
||||
"stdoutNotContains": "ARGS:"
|
||||
},
|
||||
"osOnly": "win32"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "Ошибка: -AllExtensions вместе с загрузкой частями",
|
||||
"fakePlatform": {
|
||||
"log": ""
|
||||
},
|
||||
"preRun": [
|
||||
{
|
||||
"writeFile": {
|
||||
"path": "src/CommonModules/Модуль.xml",
|
||||
"content": "<?xml version=\"1.0\"?><MetaDataObject/>"
|
||||
}
|
||||
}
|
||||
],
|
||||
"args_extra": [
|
||||
"-V8Path",
|
||||
"{fakePlatform}",
|
||||
"-InfoBasePath",
|
||||
"{workDir}/ib",
|
||||
"-ConfigDir",
|
||||
"{workDir}/src",
|
||||
"-Files",
|
||||
"CommonModules/Модуль.xml",
|
||||
"-AllExtensions"
|
||||
],
|
||||
"expectError": true,
|
||||
"expect": {
|
||||
"stdoutContains": [
|
||||
"-AllExtensions cannot be combined with a partial load",
|
||||
"Загружайте расширения по одному: -Extension <имя>"
|
||||
],
|
||||
"stdoutNotContains": "Running:"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user