summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * Reorganize the repo. Moved src/engine/SCons to ./SCons to be more in line ↵William Deegan2020-05-061-1/+1
| | | | | | | | with current python packaging practices
| * Merge pull request #3634 from mwichmann/win-uuidWilliam Deegan2020-05-033-3/+3
| |\ | | | | | | Use uuid lib for Visual Studio guids
| | * Use uuid lib for Visual Studio guidsMats Wichmann2020-05-013-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the Visual Studio area, use uuid (Python standard library) to generate GUID identifiers instead of specifically using md5. Simplifies things as uuid lib can provide already formatted strings of the form that we need. This is split off from PR #3447 by request. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | add test for soname for applelink on linuxDaniel Moody2020-05-022-3/+3
| | |
| * | resolve github Issue #3246Daniel Moody2020-05-011-1/+17
| |/ | | | | | | | | | | | | | | added check for SONAME and generate soname from that in link tools added test update CHANGES.txt
* | updated test to test setoption no_progressDaniel Moody2020-05-021-2/+1
| |
* | Merge branch 'master' into patch-1Daniel Moody2020-05-02294-1216/+2555
|\ \ | |/
| * Merge pull request #3608 from bdbaddog/add_vswhere_variableWilliam Deegan2020-04-234-2/+127
| |\ | | | | | | Add VSWHERE variable
| | * Add system test for setting and retrieving VSWHEREWilliam Deegan2020-04-232-0/+123
| | |
| | * Merge branch 'master' into add_vswhere_variableWilliam Deegan2020-04-198-88/+6
| | |\
| | * | Address PR commentsWilliam Deegan2020-04-121-1/+1
| | | |
| | * | Fix tar bz2 test so it won't crash when no bzip2 is presentWilliam Deegan2020-04-111-1/+3
| | | |
| | * | Resolve issue #3605. Allow specifying VSWHERE to environmentWilliam Deegan2020-04-102-2/+2
| | | |
| * | | Fix tests expecting -BsymbolicWilliam Deegan2020-04-212-2/+2
| | |/ | |/|
| * | Address github review notes and sider issuesWilliam Deegan2020-04-111-1/+0
| | |
| * | Fix quoting on IMPLICIT_COMMAND_DEPENDENCIES=allWilliam Deegan2020-04-091-1/+1
| | |
| * | Fix testWilliam Deegan2020-04-091-1/+1
| | |
| * | Fix tests. IMPLICIT_COMMAND_DEPENDENCIES=all needs to be quotedWilliam Deegan2020-04-091-1/+1
| | |
| * | Fix sconsign tests and scriptWilliam Deegan2020-04-091-1/+0
| | |
| * | Fix scons-time tests. Remove subversion testWilliam Deegan2020-04-095-84/+4
| |/
| * Address review feedbackAdam Gross2020-04-072-4/+9
| |
| * Fix test on non-Windows, fix sider errorsAdam Gross2020-04-021-4/+1
| |
| * Fix inconsistencies between RootDir attributesAdam Gross2020-04-022-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | The RootDir class was returning different values for path and _path as well as different values for abspath and _abspath. This is because the underscored versions were being set in the RootDir constructor, while the non-underscored versions were going through the EntryProxy wrapper, which is only coded to do a simple append of paths. I considered trying to fix EntryProxy to detect this case but instead went with a simpler approach where RootDir overrides the attributes that it wants to avoid EntryProxy calls. Right now I have this as path and abspath.
| * Add option to use box-draw chars with --treeMats Wichmann2020-03-241-33/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This picks up and hopefully completes PR #3560. Add documentation for new --tree "linedraw" option. There is a new example output in userguide, which renumbers several of the existing troubleshoot_tree example outputs. Test is cleaned up a bit (not just the added part). The actual function in Util is made a little more genral - it uses unicode chr() values instead of literally pasting in the line drawing characters. Signed-off-by: Mats Wichmann <mats@linux.com>
| * more cleanupPaul Tipei2020-03-241-11/+4
| |
| * Revert "updated the option-tree.py file"Paul Tipei2020-03-241-1/+4
| | | | | | | | This reverts commit a864ad4607bf25d7ea46e6662d2d42d9fd7c40cd.
| * updated the option-tree.py filePaul Tipei2020-03-241-4/+1
| |
| * added the test for the new implemented featurePaul Tipei2020-03-241-1/+34
| |
| * Remove verbose_set calls from testsMats Wichmann2020-03-1818-27/+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>
| * Purge some py 2.7 codeWilliam Deegan2020-03-131-7/+1
| |
| * Reduce IMPLICIT_COMMAND_DEPENDENCIES's tried in test. No need to try all ↵William Deegan2020-02-232-2/+5
| | | | | | | | values, only new functionality. Full range is covered in other test
| * Merge branch 'master' into substfilesuffixWilliam Deegan2020-02-2150-366/+365
| |\
| | * Merge branch 'master' into topic/grossag/compoundactionscanWilliam Deegan2020-02-21150-607/+944
| | |\
| | | * rm-py2: Remove "from __future__" from more placesMats Wichmann2020-02-2044-155/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | | * Updated error message per sugguestion by mwichmannWilliam Deegan2020-02-161-1/+1
| | | |
| | | * Fix Issue #2904 - add useful error message when more than one Configure() ↵William Deegan2020-02-162-0/+62
| | | | | | | | | | | | | | | | contexts are opened
| | * | Change IMPLICIT_COMMAND_DEPENDENCIES meaning as requested in PRAdam Gross2020-01-133-16/+26
| | | |
| | * | Address review feedbackAdam Gross2020-01-124-19/+3
| | | |
| | * | Merge branch 'master' into topic/grossag/compoundactionscanAdam Gross2020-01-1093-221/+594
| | |\ \
| | * | | Add repository-related test coverage of the new codeAdam Gross2019-12-042-180/+180
| | | | | | | | | | | | | | | | | | | | That was missing in the codecov report.
| | * | | Fix some more testsAdam Gross2019-12-032-27/+15
| | | | | | | | | | | | | | | | | | | | Reverts some of the changes I made previously in my diff.
| | * | | Switch heavyweight scanning to be opt-inAdam Gross2019-12-031-5/+8
| | | | |
| | * | | Various improvements to the changeAdam Gross2019-12-026-18/+54
| | | | |
| | * | | Add support for scanning multiple entries in an action stringAdam Gross2019-12-021-28/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for scanning multiple entries in an action string in order to better support the following use cases: 1. A file is provided in an action string and should be taken as a dependency. For example, an action string "$PERL somefile.pl". 2. An action string actually has two actions separated by &&. For example, "cd <some_dir> && $ZIP <args>". Adding support for #1 actually allows us to fix the test IMPLICIT_COMMAND_DEPENDENCIES.py on Windows, which was previously treating a Python file as executable even on Windows. This was causing tests to repeatedly open the default handler of Python files, which if set to Visual Studio causes DDE hangs. This test is fixed because now we can have the action string specify python as the first command and still take an implicit dependency on the script, which is now the second command.
| * | | | Add testcase for GitHub Issue #3540. Update tests for 3550 to allow 3540 to ↵William Deegan2020-02-165-5/+82
| | |_|/ | |/| | | | | | | | | | use some of it's test files
| * | | [ci skip] fix typoWilliam Deegan2020-02-141-1/+1
| | | |
| * | | Merge pull request #3554 from mwichmann/test-no-whereis-pyWilliam Deegan2020-02-149-49/+36
| |\ \ \ | | | | | | | | | | test cleanups: use harness python
| | * | | [PR #3554] restore wrapper.py for former stateMats Wichmann2020-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes didn't work on Windows. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | [PR #3554] trim unused bits from swig testsMats Wichmann2020-02-133-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three files in the previous fix got an added call to pull in the wrapper.py fixture; it turns out they didn't actually use it - appeared in a dummy call to Clone but the cloned env was never used. Drop those bits. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | test cleanups: use harness pythonMats Wichmann2020-02-129-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a few places, a command line was built to execute a wrapper script written in Python, but the Python used was not the one used to invoke the test run (which is made available by TestSCons), but the result of running test.where_is('python'). On a system which still has the thing named 'python' resolve to Python 2, this fails, through no fault of scons itself. The two fixture wrapper scripts used occasionally by the tests used subprocess.call; this is considered "old" though not marked as deprecated at this time. Switched to subprocess.run. See: https://docs.python.org/3/library/subprocess.html#older-high-level-api One of these scripts was doing unnecessary bytes-twiddling. Modernized the inline myswig.py script (in test/SWIG/SWIG.py). This script was reformatted using Black along the way. Signed-off-by: Mats Wichmann <mats@linux.com>