diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2023-12-11 15:19:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 15:19:40 +0000 |
commit | e1c0e7e515a6fcc8e0cedeaca65015dc27f15ff0 (patch) | |
tree | 58bec327ee1666699689a7d6dd67af61c434a525 /cross-project-tests | |
parent | fcdb848596c33cf05c8b6e99296a171482719493 (diff) | |
download | llvm-e1c0e7e515a6fcc8e0cedeaca65015dc27f15ff0.zip llvm-e1c0e7e515a6fcc8e0cedeaca65015dc27f15ff0.tar.gz llvm-e1c0e7e515a6fcc8e0cedeaca65015dc27f15ff0.tar.bz2 |
[Dexter] Set ShouldBuild=false for Visual Studio solutions (#75045)
Since Dexter no longer intends to build any code, the ShouldBuild
property in any Visual Studio project being run by Dexter should be
false to ensure that a build step is never invoked by Dexter, whether
the project has already been built or not.
Reviewed by: OCHyams
Diffstat (limited to 'cross-project-tests')
-rw-r--r-- | cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py index 50a97e2..0e20cfb 100644 --- a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py +++ b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py @@ -276,6 +276,13 @@ class VisualStudio( project.Properties, "ActiveConfiguration" ).Object ActiveConfiguration.DebugSettings.CommandArguments = cmdline_str + ConfigurationName = ActiveConfiguration.ConfigurationName + SolConfig = self._fetch_property( + self._interface.Solution.SolutionBuild.SolutionConfigurations, + ConfigurationName, + ) + for Context in SolConfig.SolutionContexts: + Context.ShouldBuild = False self.context.logger.note("Launching VS debugger...") self._fn_go(False) |