You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to run tests in a project which has CBA-like structure - multiple subdirectories and cross-addin function calls. To do that, I need to be able to load functions from multiple projects simultaneously - using CfgFunctions which is already defined in each project
Describe the solution you'd like
Have a flag which allows sqfvm to parse CfgFunctions config section and load referenced SQF files from virtual filesystem, using PBO or explicit mapping via cmd arg
e.g. sqfvm --input-pbo my.pbo --parse-cfgfunctions
Describe alternatives you've considered
I have considered loading files manually - however, it is tedious and may lead to inconsistencies
The text was updated successfully, but these errors were encountered:
Version built from development branch does not seem to read CfgFunctions correctly
sqfvm.exe --use-cfg-functions --suppress-welcome --input-pbo dynops_civilians.pbo
1: [] call dynops_civilians_fnc_onCivilianKilled
2:
Executing...
------------------------------------------------------------------------------------------------------------------------------------------
[WRN] [L1|C8|__commandlinefeed.sqf] A variable with the name 'dynops_civilians_fnc_onCivilianKilled' could not be found.
[WRN] [L1|C3|__commandlinefeed.sqf] Nil value provided for right-handed argument.
[WRN] [L1|C35|__service] No config entry with the name 'CfgFunctions' could be located at path config/bin.
[ERR] [L5|C20|__service] Provided value is null.
[FAT] [L5|C20|__service] Stacktrace:< 1 of 1> [L5|C20|__service] [missionNamespace] [SCOPENAME-EMPTY]
Is your feature request related to a problem? Please describe.
I would like to run tests in a project which has CBA-like structure - multiple subdirectories and cross-addin function calls. To do that, I need to be able to load functions from multiple projects simultaneously - using
CfgFunctions
which is already defined in each projectSee also: #186 #196
Describe the solution you'd like
Have a flag which allows
sqfvm
to parseCfgFunctions
config section and load referenced SQF files from virtual filesystem, using PBO or explicit mapping via cmd arge.g.
sqfvm --input-pbo my.pbo --parse-cfgfunctions
Describe alternatives you've considered
I have considered loading files manually - however, it is tedious and may lead to inconsistencies
The text was updated successfully, but these errors were encountered: