Allow users to call `_section_switch` and `_uncollapsed_section_switch` without previous section commands. This can happen because `*-runner.sh` script can be composed in several ways. For example if `android-cts-runner.sh` is called without first calling `cuttlefish-runner.sh`, where a `section_start` is issued, the `uncollapsed_section_switch` command in `android-cts-runner.sh` will fail with an error like: 2025-07-02T08:42:33 /install/setup-test-env.sh: line 102: CURRENT_SECTION: unbound variable Setting default empty values for `CURRENT_SECTION` makes it possible to use the "section_switch" commands to also start a section for the first time. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35907>
10 KiB
Executable File
10 KiB
Executable File