summaryrefslogtreecommitdiffstats
path: root/test/MSVC
Commit message (Collapse)AuthorAgeFilesLines
* Test MSVCUseSettingsError exception raised for type errorJoseph Brill2022-05-051-0/+8
|
* Test that MSVC_USE_SETTINGS empty dictionary produces msvc compiler not ↵Joseph Brill2022-05-051-0/+8
| | | | found warning
* Add MSVC_USE_SETTINGS testJoseph Brill2022-05-031-0/+60
|
* added test for MSVC_USE_SCRIPT_ARGSWilliam Deegan2022-03-074-0/+56
|
* update copyright blurb to current versionWilliam Deegan2021-11-261-5/+2
|
* Add test to verify script not found exception for msvc script specified via ↵Joseph Brill2021-11-261-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 Brill2021-10-051-1/+1
| | | | output.
* Merge branch 'master' into jbrill-msvs-2022Joseph Brill2021-10-0514-72/+169
|\ | | | | | | Manually resolve conflict in CHANGES.txt
| * reorg code a bit so MSCommon has some of the logic. Also changed ↵William Deegan2021-09-253-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 Deegan2021-09-182-3/+2
| |
| * add test to verify that a generator specified for PCH with returns a false ↵William Deegan2021-09-182-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 Deegan2021-09-182-2/+9
| | | | | | | | expected files
| * remove propagating os.environ INCLUDE and LIB from tests. Add comments to ↵William Deegan2021-09-183-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 beWilliam Deegan2021-09-1812-64/+114
| |
* | Add support for Visual Studio 2022Joseph Brill2021-09-231-3/+21
|/
* Add timing of sconsign write if --debugMats Wichmann2021-02-081-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 codeMats Wichmann2020-09-214-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 Brill2020-08-071-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 VSWHEREWilliam Deegan2020-04-232-0/+123
|
* Remove verbose_set calls from testsMats Wichmann2020-03-181-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 placesMats Wichmann2020-02-202-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.2Mats Wichmann2020-02-021-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>
* Improve building of docs using Py3 [ci skip]Mats Wichmann2019-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | * context managers on file r/w + use shutil.copy where it makes sense. * lxml wants (demands?) that xml files be processed as bytes * for the phase where we gen the entity files, read as text anyway * Need to solve a problem where the generated xml is putting the \n in literally, not evaluating it. * Fix some examples broken for py3 * Fix more octal constant instances * Cleanups suggested by PyCharm: staticmethods, two blanks before class definition, others. This addresses issues called out in #3300, but is not a complete solution because the actual doc build step still fails with the epydoc failures (which aren't directly because of Py3; epydoc build doesn't work any better on my system with Py3, even with the forked version with patches). Signed-off-by: Mats Wichmann <mats@linux.com>
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-251-5/+9
| | | | | | | On a linux host (missing some things that may be on the Travis CI setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages. Signed-off-by: Mats Wichmann <mats@linux.com>
* Add test to check if installed sdk version is supportedWilliam Deegan2019-03-181-0/+66
|
* Clean up some tests: use context managersMats Wichmann2019-02-141-4/+4
| | | | | | | | | Plenty of complaints coming from Python 3.8alpha on unclosed files. Targeted those areas which intersect with PyPy failures - this changeset reduces the PyPy fails by 17 on the local test environment. So this affects both Issue #3299 and the PyPy support project. Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix is/is not syntaxMats Wichmann2019-02-111-2/+2
| | | | | | | | In a few places, "is" and "is not" are used to compare with a string or integer literal. Python 3.8 flags these with a SyntaxWarning. Changed to == and != Signed-off-by: Mats Wichmann <mats@linux.com>
* fix for case where nothing is return from vswhereDaniel2019-02-051-0/+51
|
* removed unused imports and other sider changesDaniel2019-01-121-2/+0
| | | | fixed syntax issue
* added test for vs 14.1 and checking arm targetsDaniel2019-01-121-0/+22
|
* added name for cl.exe and have older versions walk for cl.exeDaniel2019-01-101-4/+3
| | | | | | fixed syntax error removed debug print
* added support for checking for arm target support, and UWP apps for 2017Daniel2019-01-101-49/+92
|
* Change bug references from tigris -> githubMats Wichmann2018-04-241-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix test so use os.sep instead of hardcoded backslash for MSVC_BATCH=true ↵William Deegan2018-03-241-5/+6
| | | | /Fo argument
* fix #3106 MSVC handling MSVC_BATCH with targetdir which requires escaping.William Deegan2018-03-246-3/+48
|
* Replace all instances of `int main()` with `int main(void)`Jonathon Reinhart2018-02-112-2/+2
|
* Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-08-011-9/+8
| | | | Skip test if MSVC_VERSION is less than VS2015
* Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-3/+9
| | | | Missed a couple of messages on fail_test
* Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-8/+10
| | | | Code Review Fixes.
* Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-8/+30
| | | | | | The test should take into account if the MSVC_VERSION is less than 14.0 (VS2015) and check that the LIBPATH doesn't include the store paths.
* Minor changes for Code ReviewIbrahim Esmat2017-07-261-4/+4
|
* Added MSVC_UWP_APP test to test setting MSVC_UWP_APP constructionIbrahim Esmat2017-07-261-0/+103
| | | | variable with desired effect.
* fix py2/3 issues mostly rb/wb mode='r' fixesWilliam Deegan2017-03-133-8/+11
|
* py2/3 must_match mode='r' changesWilliam Deegan2017-03-131-10/+10
|
* remove mode b's py2/3William Deegan2017-03-131-4/+4
|
* Moved common my<xxx>.py functions to global fixture and resolve byte/str.William Blevins2016-10-034-56/+8
|
* fixes for print()'s for win32William Deegan2016-05-131-1/+1
|
* Commit resolved conflicted merge.Russel Winder2016-04-101-2/+2
|\
| * Fix for backslash being treated as an escape characterThomas Tanner2016-01-301-2/+2
| | | | | | | | | | On my windows system, my python is in c:\apps\32\python. Theres a lot of places where that \32 gets turned into an ascii character and the unit tests don't run.
* | Post merge commit for safety. Building Fortran code works, but tests fail.Russel Winder2015-12-241-0/+79
|\ \ | |/