summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix msvc toolset versions test when not msvc version not installed.Joseph Brill2022-07-102-4/+5
|
* Modify msvc_query_version_toolset when version is None to use default ↵Joseph Brill2022-07-106-4/+201
| | | | version. Add additional tests.
* Move toolset version regexes to utility module. Rename default version method.Joseph Brill2022-07-091-2/+2
|
* Fix sider issues.Joseph Brill2022-07-091-2/+2
|
* Rework version convenience functions. Add additional tests.Joseph Brill2022-07-098-4/+301
|
* Disable cache for MSVC/MSVC_USE_SCRIPT_ARGS test.Joseph Brill2022-07-081-0/+3
|
* Fix sider issues.Joseph Brill2022-07-081-5/+5
|
* Add MSVC_SDK_VERSION tests.Joseph Brill2022-07-083-2/+240
|
* Additional policy tests for coverage.Joseph Brill2022-07-082-0/+25
|
* Add utility function for msvc_version components. Add convenience function ↵Joseph Brill2022-07-072-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 Brill2022-07-073-97/+148
|
* Fix invalid msvc version test.Joseph Brill2022-07-071-3/+2
|
* Return empty list instead of None in msvc_toolset_versions. Expand msvc ↵Joseph Brill2022-07-071-118/+180
| | | | toolset version tests.
* Fix typo in comment and add msvc not found, msvc script error, and msvc ↵Joseph Brill2022-07-073-0/+450
| | | | toolset versions tests.
* Rename msvc functions for consistency. Make additional msvc functions and ↵Joseph Brill2022-07-051-1/+1
| | | | exceptions available via MSCommon module.
* Merge branch 'master' into jbrill-msvc-batchargsJoseph Brill2022-06-2612-152/+313
|\
| * Merge pull request #4168 from dmoody256/lex_space_argsWilliam Deegan2022-06-255-0/+58
| |\ | | | | | | Updated lex emitter to respect escaped spaces when climbing out of the SConscript dir
| | * Merge branch 'master' into lex_space_argsWilliam Deegan2022-06-163-4/+131
| | |\
| | * \ Merge branch 'master' into lex_space_argsWilliam Deegan2022-06-146-2/+223
| | |\ \
| | * | | Updated lex emitter to respect escaped spaces when climbing out of a the ↵Daniel Moody2022-06-065-0/+58
| | | | | | | | | | | | | | | | | | | | SCosncript dir
| * | | | Fix PR review issuesMats Wichmann2022-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove leftover debugging debris. Fix sider complaint Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | | Fortran vairants now include FORTRANCOMMONFLAGSMats Wichmann2022-06-167-152/+255
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation suggested $FORTRANFLAGS was included in the build lines for all variants, but it was not. Turns out the test suite quite explicitly checks that FORTRANFLAGS doesn't leak through to other variants, so instead define a new FORTRANCOMMONFLAGS to serve the purpose of a flag that applies to all variants. Assorted cleanup. And f-strings. Fixes #2257 Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Fix msvc notfound policy module path for testJoseph Brill2022-06-201-1/+1
|/ / /
* | | Merge pull request #4178 from bdbaddog/trivial_fortran_cleanupWilliam Deegan2022-06-151-4/+2
|\ \ \ | | | | | | | | trivial fortran cleanups.
| * | | trivial cleanups. Change internal flag in internal methods from 0/1 to ↵William Deegan2022-06-151-4/+2
| | |/ | |/| | | | | | | True/False for support_module
* | | added message to test failure, and removed unneeded import SCons in fixture ↵William Deegan2022-06-152-4/+3
| | | | | | | | | | | | sconstruct
* | | update changes/release notes, and add mtime check to determinism testDaniel Moody2022-06-151-0/+5
| | |
* | | Merge branch 'master' into ninja_determinismWilliam Deegan2022-06-146-2/+223
|\ \ \ | |/ /
| * | Fix testWilliam Deegan2022-06-141-1/+2
| | |
| * | Fixed some typos. Added skip_test() if psutil is not present for new test. ↵William Deegan2022-06-141-4/+8
| | | | | | | | | | | | Added note to CHANGES.txt/RELEASE.txt that psutil is required for the new test for this function
| * | Merge branch 'master' into ninja_exit_daemonWilliam Deegan2022-06-145-2/+139
| |\ \
| | * \ Merge branch 'master' into ninja_command_line_argsWilliam Deegan2022-06-134-1/+133
| | |\ \
| | | * \ Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-06-106-10/+213
| | | |\ \ | | | | |/
| | | * | Added test for invalid env['MSVC_NOTFOUND_POLICY'] valueWilliam Deegan2022-06-061-0/+10
| | | | |
| | | * | Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-06-0116-461/+378
| | | |\ \
| | | * | | Fix tool name in test fixtureJoseph Brill2022-05-161-1/+1
| | | | | |
| | | * | | Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-05-151-0/+76
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Manually resolved conflicts in SCons/Tool/MSCommon/vc.py
| | | * | | | Update test script header with template/test.py headerJoseph Brill2022-05-151-4/+3
| | | | | | |
| | | * | | | Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-05-1511-0/+468
| | | |\ \ \ \
| | | * | | | | Replace msvc_exists in tools exists functions for msvc tools with ↵Joseph Brill2022-04-264-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Brill2022-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found. Remove exception for default msvc version and adjust test accordingly.
| | | * | | | | Raise MSVCVersionNotFound exception instead of returning an empty/undefined ↵Joseph Brill2022-04-125-4/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 NINJA_CMD_ARGS="-v -j3" (contains two arguments for ninja)William Deegan2022-06-131-0/+4
| | | | | | | |
| | * | | | | | Added command line variable to pass ninja args through scons.Daniel Moody2022-06-071-1/+2
| | | |_|_|_|/ | | |/| | | |
| * | | | | | Added new alias 'shutdown-ninja-scons-daemon' to allow ninja to shutdown the ↵Daniel Moody2022-06-071-0/+79
| |/ / / / / | | | | | | | | | | | | | | | | | | daemon
* | | | | | Added option to allow scons to determine if it should skip ninja regeneration.Daniel Moody2022-06-072-0/+125
|/ / / / /
* | | | | Merge branch 'master' into ninja_always_executeWilliam Deegan2022-06-0218-470/+399
|\ \ \ \ \
| * \ \ \ \ Merge pull request #4158 from dmoody256/shell_env_gen_listWilliam Deegan2022-06-012-9/+21
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Updated SHELL_ENV_GENERATOR to be list of functions now called SHELL_ENV_GENERATORS
| | * | | | Updated CHANGES/RELEASE to be a bit simpler. Fixed typo in docs for ↵William Deegan2022-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | SHELL_ENV_GENERATORS.
| | * | | | Updated SHELL_ENV_GENERATOR to be list of functions now called ↵Daniel Moody2022-05-242-8/+20
| | | |_|/ | | |/| | | | | | | | | | | | SHELL_ENV_GENERATORS