|
KiCad PCB EDA Suite
|
Regression test for KiCad GitLab issue #24244. More...
Public Member Functions | |
| EnvVarRecursiveExpansionFixture () | |
| ~EnvVarRecursiveExpansionFixture () | |
Public Attributes | |
| wxString | innerPath |
| std::optional< wxString > | oldInner |
| std::optional< wxString > | oldOuter |
Regression test for KiCad GitLab issue #24244.
When KICAD_USER_TEMPLATE_DIR (or any path env var) itself references another env var (e.g. value "${KICAD_CONFIG_HOME}/templates"), the value must be recursively expanded before being treated as a filesystem path. In v10 the new-project flow used the raw value, which caused KiCad to create directories literally named "${KICAD_CONFIG_HOME}" relative to the working directory.
Definition at line 472 of file test_expand_text_vars.cpp.
|
inline |
Definition at line 478 of file test_expand_text_vars.cpp.
|
inline |
Definition at line 495 of file test_expand_text_vars.cpp.
| wxString EnvVarRecursiveExpansionFixture::innerPath |
Definition at line 474 of file test_expand_text_vars.cpp.
Referenced by EnvVarRecursiveExpansionFixture().
| std::optional<wxString> EnvVarRecursiveExpansionFixture::oldInner |
Definition at line 475 of file test_expand_text_vars.cpp.
Referenced by EnvVarRecursiveExpansionFixture(), and ~EnvVarRecursiveExpansionFixture().
| std::optional<wxString> EnvVarRecursiveExpansionFixture::oldOuter |
Definition at line 476 of file test_expand_text_vars.cpp.
Referenced by EnvVarRecursiveExpansionFixture(), and ~EnvVarRecursiveExpansionFixture().