]> _ Git - alire.git/commit
Bugfix: exception when trying to select a tool without the assistant while the config...
authorAlejandro R Mosteo <amosteo@unizar.es>
Tue, 30 Jan 2024 10:16:51 +0000 (11:16 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Jan 2024 10:16:51 +0000 (11:16 +0100)
commita9a8fb1df86e0ce71fe7663c7798fc5826c7b02f
treea3605329787c5e178b8fda8499fd99b604d8f002
parentc25dd5465e41b289c28cefe70886d225ccfcc000
Bugfix: exception when trying to select a tool without the assistant while the configured one is missing (#1551)

* Fix exception when trying to select a toolchain

This problem arised only if trying to select a toolchain with --select <tool>
while the configured tool was missing on disk.

* Test for fix
src/alire/alire-solutions-diffs.adb
src/alire/alire-toolchains.adb
src/alire/alire-toolchains.ads
src/alr/alr-commands-toolchain.adb
testsuite/tests/toolchain/select-while-missing/test.py [new file with mode: 0644]
testsuite/tests/toolchain/select-while-missing/test.yaml [new file with mode: 0644]