summaryrefslogtreecommitdiffstats
path: root/test/MSVC
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Add a test on basic PCH behavior: bulid a simple executable and a simple ↵pchdllAlexandre Feblot2015-04-291-0/+79
| | | | | | | | shared lib
* | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).Stefan Zimmermann2014-03-311-0/+1
| |
* | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-222-64/+64
|/
* - moved check for an installed MSVC toolchain into its own function in TestSConsDirk Baechle2012-12-2212-117/+12
|
* - fixes for MinGW under Windows, mainly skipping MSVS-specific testsDirk Baechle2012-12-1812-0/+57
|
* MSVC: show valid $TARGET_ARCH values when invalid arch passed in.Gary Oberbrunner2012-05-071-1/+12
|
* MSVC11 needs PCH objects added to the link line.Gary Oberbrunner2012-05-071-85/+85
| | | | Update msvc linker emitter to add the PCH object if not already present.
* mSVC: fixed test problem in test/MSVC/embed-manifest.py by ensuring a ↵Gary Oberbrunner2011-05-291-6/+5
| | | | manifest gets generated -- added /MANIFEST to LINKFLAGS and SHLINKFLAGS.
* Fix bug 2722 - get rid of warnings about missing MSVC, now will only be ↵William Deegan2011-05-171-0/+11
| | | | shown if the SCONS_MSCOMMON_DEBUG environment variable is set. Also partial fix for 2661.src/engine/SCons/Tool/MSCommon/vc.py
* Skip MSVC/batch-longlines test on non-Windows platforms.Gary Oberbrunner2011-05-031-0/+5
|
* Fix issue 2627: MSVC_BATCH=False should turn off batch, not turn it on.Gary Oberbrunner2011-04-241-0/+13
|
* Fix issue 2628, long compile lines in batch mode. Thanks to Grzegorz Bizo ↵Gary Oberbrunner2011-04-241-0/+59
| | | | for the patch.
* Fix issue #1632: quote /Fp in PCH to make precompiled hdrs work with variant ↵Gary Oberbrunner2011-03-021-0/+85
| | | | dirs containing spaces.
* Support automatically embedding manifests in EXEs and DLLs on Windows.Gary Oberbrunner2011-03-021-0/+88
|
* Fix test for non-win32 platformsWilliam Deegan2010-04-061-5/+4
|
* Fix vc9.0 express issue, misspelling, and add testcase which would have ↵William Deegan2010-04-061-0/+58
| | | | exposed the issue.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-255-8/+6
| | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
* Issue 2505: fix use of pre-compiled headers when the source .cppSteven Knight2010-01-061-0/+107
| | | | file is listed in both the env.PCH() and env.Program() calls.