summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/MSCommon/MSVC/ScriptArgumentsTests.py
Commit message (Collapse)AuthorAgeFilesLines
* Add some cheap return and parameter annotationsMats Wichmann2023-05-011-13/+13
| | | | | | | | | | | | | | | | | Use: https://github.com/JelleZijlstra/autotyping to add "safe" return annotations. Where a parameter has a default value that is an obvious scalar type (bool, int, str, etc.) add those annotations as well. Also fixed two small bugs that popped up when sanity-checking with mypy. One in FortranCommon, where a return had been previously annotated to be a tuple of Action, which should be ActionBase - Action is the factory function, not the base class. The other was a typo in the error raised in _add_cppdefines - the message was formatted with the value of "define" which should have been "defines". Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove print statement from ScriptArgumentsTests.py.Joseph Brill2022-07-171-1/+0
|
* Remove blank line and redundant test invocation.Joseph Brill2022-07-171-2/+0
|
* Add function to return toolsets with spectre libs folder (target may not be ↵Joseph Brill2022-07-171-0/+14
| | | | installed). Add additional tests.
* Add msvc sdk version components utility function and tuple. Finish script ↵Joseph Brill2022-07-171-64/+205
| | | | arguments tests.
* Add version components tuple to version breakdown definitions.Joseph Brill2022-07-171-1/+0
|
* Use installed versions instead of all versions.Joseph Brill2022-07-161-2/+2
|
* Return previous policy when setting default argument policy. Add more tests.Joseph Brill2022-07-161-2/+279
|
* Rework unit tests: move global data to Data class and move monkey patching ↵Joseph Brill2022-07-161-27/+39
| | | | to Patch class.
* Rework special case for 9.0 VCForPython handling (vc dir and batchfile ↵Joseph Brill2022-07-141-0/+151
location). Add additional tests.