Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor formatting updates | William Deegan | 2022-07-25 | 6 | -30/+25 |
| | |||||
* | Add special case for msvc 14.0 and store/uwp specified via script args and ↵ | Joseph Brill | 2022-07-18 | 4 | -183/+141 |
| | | | | sdk specified via construction variable or forced. Revise forced default toolset handling (may have passed default toolset as an argument inadvertently). Add more tests. | ||||
* | Add msvc spectre libs test. Add library path checks to msvc sdk version and ↵ | Joseph Brill | 2022-07-17 | 3 | -6/+184 |
| | | | | msvc toolset version tests. | ||||
* | Rework special case for 9.0 VCForPython handling (vc dir and batchfile ↵ | Joseph Brill | 2022-07-14 | 1 | -57/+0 |
| | | | | location). Add additional tests. | ||||
* | Move individual tests file content into vcTests.py | Joseph Brill | 2022-07-13 | 3 | -269/+0 |
| | |||||
* | Update UtilTests with version components tests and remove separate msvc ↵ | Joseph Brill | 2022-07-13 | 1 | -61/+0 |
| | | | | version components test. | ||||
* | Add additional tests. Remove trailing whitespace. | Joseph Brill | 2022-07-11 | 3 | -57/+1 |
| | |||||
* | Local flake8 recommendations. | Joseph Brill | 2022-07-11 | 1 | -1/+0 |
| | |||||
* | Fix msvc toolset versions test when not msvc version not installed. | Joseph Brill | 2022-07-10 | 2 | -4/+5 |
| | |||||
* | Modify msvc_query_version_toolset when version is None to use default ↵ | Joseph Brill | 2022-07-10 | 5 | -4/+186 |
| | | | | version. Add additional tests. | ||||
* | Move toolset version regexes to utility module. Rename default version method. | Joseph Brill | 2022-07-09 | 1 | -2/+2 |
| | |||||
* | Fix sider issues. | Joseph Brill | 2022-07-09 | 1 | -2/+2 |
| | |||||
* | Rework version convenience functions. Add additional tests. | Joseph Brill | 2022-07-09 | 6 | -4/+271 |
| | |||||
* | Disable cache for MSVC/MSVC_USE_SCRIPT_ARGS test. | Joseph Brill | 2022-07-08 | 1 | -0/+3 |
| | |||||
* | Fix sider issues. | Joseph Brill | 2022-07-08 | 1 | -5/+5 |
| | |||||
* | Add MSVC_SDK_VERSION tests. | Joseph Brill | 2022-07-08 | 3 | -2/+240 |
| | |||||
* | Additional policy tests for coverage. | Joseph Brill | 2022-07-08 | 2 | -0/+25 |
| | |||||
* | Add utility function for msvc_version components. Add convenience function ↵ | Joseph Brill | 2022-07-07 | 2 | -23/+7 |
| | | | | to return list of installed msvc version component tuples for the test suite. | ||||
* | Minor update to msvc exceptions and rework new unit tests. | Joseph Brill | 2022-07-07 | 3 | -97/+148 |
| | |||||
* | Fix invalid msvc version test. | Joseph Brill | 2022-07-07 | 1 | -3/+2 |
| | |||||
* | Return empty list instead of None in msvc_toolset_versions. Expand msvc ↵ | Joseph Brill | 2022-07-07 | 1 | -118/+180 |
| | | | | toolset version tests. | ||||
* | Fix typo in comment and add msvc not found, msvc script error, and msvc ↵ | Joseph Brill | 2022-07-07 | 3 | -0/+450 |
| | | | | toolset versions tests. | ||||
* | Added test for invalid env['MSVC_NOTFOUND_POLICY'] value | William Deegan | 2022-06-06 | 1 | -0/+10 |
| | |||||
* | Merge branch 'master' into jbrill-msvc-warnfix | Joseph Brill | 2022-05-15 | 1 | -0/+76 |
|\ | | | | | | | Manually resolved conflicts in SCons/Tool/MSCommon/vc.py | ||||
| * | Test MSVCUseSettingsError exception raised for type error | Joseph Brill | 2022-05-05 | 1 | -0/+8 |
| | | |||||
| * | Test that MSVC_USE_SETTINGS empty dictionary produces msvc compiler not ↵ | Joseph Brill | 2022-05-05 | 1 | -0/+8 |
| | | | | | | | | found warning | ||||
| * | Add MSVC_USE_SETTINGS test | Joseph Brill | 2022-05-03 | 1 | -0/+60 |
| | | |||||
* | | Update test script header with template/test.py header | Joseph Brill | 2022-05-15 | 1 | -4/+3 |
| | | |||||
* | | Replace msvc_exists in tools exists functions for msvc tools with ↵ | Joseph Brill | 2022-04-26 | 2 | -4/+18 |
| | | | | | | | | msvc_setup_env_tool that also registers the tool name. The new function may indicate that the tool should be included even when no instances of msvc are installed. This is necessary for some error checking. Add a tool name argument to msvc_setup_env_once as well. Add default msvc version detection. Add a global and environment local policy variable for handling warnings and/or exceptions: error, warn, ignore. By default warnings are produced. Update tests accordingly. | ||||
* | | Rework exception message construction when a specified msvc version is not ↵ | Joseph Brill | 2022-04-24 | 1 | -1/+1 |
| | | | | | | | | found. Remove exception for default msvc version and adjust test accordingly. | ||||
* | | Raise MSVCVersionNotFound exception instead of returning an empty/undefined ↵ | Joseph Brill | 2022-04-12 | 2 | -3/+82 |
|/ | | | | dictionary when attempting to find a valid msvc batch script. Raise an MSVCVersionNotFound exception when the default msvc version is requested and there are no msvc versions installed. Suppress raising an MSVCVersionNotFound exception during default msvc tool initialization. Add additional tests. | ||||
* | added test for MSVC_USE_SCRIPT_ARGS | William Deegan | 2022-03-07 | 4 | -0/+56 |
| | |||||
* | update copyright blurb to current version | William Deegan | 2021-11-26 | 1 | -5/+2 |
| | |||||
* | Add test to verify script not found exception for msvc script specified via ↵ | Joseph Brill | 2021-11-26 | 1 | -0/+53 |
| | | | | MSVC_USE_SCRIPT. Update CHANGES.txt and RELEASE.txt and adjust whitespace. | ||||
* | Fix variable name (msvs_143 to msvc_143) and minor updates based on slider ↵ | Joseph Brill | 2021-10-05 | 1 | -1/+1 |
| | | | | output. | ||||
* | Merge branch 'master' into jbrill-msvs-2022 | Joseph Brill | 2021-10-05 | 14 | -72/+169 |
|\ | | | | | | | Manually resolve conflict in CHANGES.txt | ||||
| * | reorg code a bit so MSCommon has some of the logic. Also changed ↵ | William Deegan | 2021-09-25 | 3 | -20/+39 |
| | | | | | | | | MSVC/hierarchical.py to use File('StdAfx.pch') Best to start recommending File() or Node from env.PCH() as value for PCH. | ||||
| * | fix remaining PCH tests. | William Deegan | 2021-09-18 | 2 | -3/+2 |
| | | |||||
| * | add test to verify that a generator specified for PCH with returns a false ↵ | William Deegan | 2021-09-18 | 2 | -10/+32 |
| | | | | | | | | value will disable PCH being added to compile and link lines | ||||
| * | update pch_gen test to use non-default names and verify existance of ↵ | William Deegan | 2021-09-18 | 2 | -2/+9 |
| | | | | | | | | expected files | ||||
| * | remove propagating os.environ INCLUDE and LIB from tests. Add comments to ↵ | William Deegan | 2021-09-18 | 3 | -8/+8 |
| | | | | | | | | explain how the dir/file fixture in pch_gen's logic is working | ||||
| * | add logic to ensure PCH is subst() evaluated when it should be | William Deegan | 2021-09-18 | 12 | -64/+114 |
| | | |||||
* | | Add support for Visual Studio 2022 | Joseph Brill | 2021-09-23 | 1 | -3/+21 |
|/ | |||||
* | Add timing of sconsign write if --debug | Mats Wichmann | 2021-02-08 | 1 | -4/+4 |
| | | | | | | | | | | | A line is now emitted showing sconsign sync time if --debug=time Some calls to time.time replaced with time.perf_counter, where the objective was to time sections of code (i.e. where there wasn't an actual need to get time-since-epoch) - Python recommends this as getting the best-available timer. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Run autoflake on code | Mats Wichmann | 2020-09-21 | 4 | -4/+0 |
| | | | | | | | | | | Eliminate unneeded imports, and a few unneeded statements - usually "pass" where it is not syntactically needed. A couple of import try blocks were eliminated or changed when they're "cannot happen" due to current floor Python version. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Rework vc.py caching of installed vcs and remove cached_get_installed_vcs ↵ | Joseph Brill | 2020-08-07 | 1 | -1/+1 |
| | | | | function. Replace external references to cached_get_installed_vcs with get_installed_vcs. Update CHANGES.txt. | ||||
* | Add system test for setting and retrieving VSWHERE | William Deegan | 2020-04-23 | 2 | -0/+123 |
| | |||||
* | Remove verbose_set calls from tests | Mats Wichmann | 2020-03-18 | 1 | -1/+0 |
| | | | | | | | | test.verbose_set() enables verbose mode, can be a useful debugging aid. Shouldn't be left in in production tests, as it creates noise in the test log. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | rm-py2: Remove "from __future__" from more places | Mats Wichmann | 2020-02-20 | 2 | -8/+4 |
| | | | | | | | | | | | | | | | A couple of minor reformats along the way, most prominently, in tests, if being edited anyway, make sure the docstring most tests have is actually the docstring (sometimes the __revision__ line came before, which makes the string not be the docstring). Snuck in some minor framework changes that were orphaned when another draft PR was not needed: this almost all docstring changes, the functional part is using casefold instead of lower in a match func - a slightly better approach which is now possible that Py2 compatibility is not needed. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | [PR #3538] MSVC UWP test was never updated for 14.2 | Mats Wichmann | 2020-02-02 | 1 | -11/+28 |
| | | | | | | | Has been reporting skipped because not supported due to lookup logic in the testcase. Adding. Signed-off-by: Mats Wichmann <mats@linux.com> |