Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove editor junk | Paweł Tomulik | 2018-10-10 | 1 | -0/+0 |
| | |||||
* | fixed minor typos | Paweł Tomulik | 2018-10-05 | 2 | -5/+5 |
| | |||||
* | fixed some docs in TestCommon.py and refactored a little | Paweł Tomulik | 2018-10-05 | 1 | -59/+39 |
| | |||||
* | make the must[_not]_contain_...() functions compatible with str.find | Paweł Tomulik | 2018-10-05 | 1 | -9/+9 |
| | |||||
* | fixed bugs in must_[not_]_contain() | Paweł Tomulik | 2018-10-05 | 1 | -6/+5 |
| | |||||
* | add test cases to exhibit bugs in must_[not_]contain() | Paweł Tomulik | 2018-10-05 | 1 | -2/+54 |
| | |||||
* | Update testing docs | Mats Wichmann | 2018-09-08 | 1 | -214/+310 |
| | | | | | | | | A little formatting cleanup and some wording changes. Debugging end to end tests got its own section, could use more content probably. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | add missed TestCmd.py changes | Mats Wichmann | 2018-08-17 | 1 | -10/+14 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Move checking for python header to common location | Mats Wichmann | 2018-08-15 | 1 | -18/+37 |
| | | | | | | | | | | | A previous change added a check for Python.h in one SWIG test which did not have it which turns that test into a skip instead of a fail if the header is not installed. It was pointed out that having 12 tests check for the same thing might be optimised by putting the check in the routine which returns info about the python development environment, so this change makes that modification. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Try a more scons-y file conversion for Py3 file reads | Mats Wichmann | 2018-07-31 | 1 | -8/+16 |
| | | | | | | | | | | Instead of custom conversion as in the previous iteration, use the to_bytes function. The two known tests which incorrectly let the text-mode xml file be opened in binary mode are adjusted to supply mode='r' Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Testing: python 3 fix for must_contain | Mats Wichmann | 2018-07-25 | 1 | -0/+9 |
| | | | | | | | | | | | | | | TestCommon defines a method must_contain which checks for a file including a given string. With Python 3, the test runs into some typing problems. This could be fixed either by changing all the tests which call the routine either omitting the mode argument (which then defaults to 'rb'), or specifying a mode which includes 'b'; or by modifying must_contain to align the types of the file data and the data to check for. This patch uses the latter approach. This is a test-only change, no run-time scons code is modified. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Fix py3 ResourceWarning in TestCmd | Mats Wichmann | 2018-07-24 | 1 | -2/+4 |
| | | | | | | | | | | class TestCmd method read() uses a shortcut to return data from a file, "return open(...).read()". Python 3 warns this is a resource leak because the file has no chance to be closed with the open being in the return statement. Split into two lines and use a context manager (with statement). Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | fix TestSCons.get_platform_python_info() to work on win32, had omitted some ↵ | William Deegan | 2018-07-10 | 1 | -4/+1 |
| | | | | needed imports | ||||
* | Fix for py2.7 + 3.5+ | William Deegan | 2018-07-08 | 1 | -5/+8 |
| | |||||
* | stop using obsolete distutils.sysconfig to find python include, link ↵ | William Deegan | 2018-07-08 | 1 | -2/+12 |
| | | | | paths,and library names. Use sysconfig.get_config_var() calls instead | ||||
* | Change TestSCons's get_platform_python_info() to use the python which ↵ | William Deegan | 2018-07-06 | 1 | -1/+1 |
| | | | | runtest.py was run with instead of blindly searching for python vis test.where_is(). This fixes an issue where the swig tests work fine with py3.6 but not with py2.7 on a win64 box with both installed, runtest launched via py -2 runtest.py ... | ||||
* | pr-3052: moved some 64 bit logic to TestCmd and used TestCmd system checks | Daniel Moody | 2018-05-25 | 1 | -1/+1 |
| | |||||
* | Add wildcards so we'll catch both 32 and 64 bit versions of java on windows. | William Deegan | 2018-05-11 | 1 | -2/+2 |
| | |||||
* | Add some reasonable default windows paths to find java. | William Deegan | 2018-05-11 | 1 | -11/+20 |
| | |||||
* | move test files from QMTest to testing/framework. QMtest hasn't been used in ↵ | William Deegan | 2018-04-30 | 12 | -0/+12359 |
| | | | | quite some time | ||||
* | Fix wiki references to point to gihub wiki | Mats Wichmann | 2018-04-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | 0.3 - fixed used imports that failed on Python 2.6 | anatoly techtonik | 2014-08-24 | 1 | -2/+10 |
| | | | | | Crash evidence: http://buildbot.scons.org/builders/debian6-python-2.6/builds/54/steps/shell/logs/stdio | ||||
* | taprunner 0.2 - remove unused import that failed Python 2.6 | anatoly techtonik | 2014-08-23 | 1 | -2/+4 |
| | | | | | Crash evidence: http://buildbot.scons.org/builders/ubuntu-python-2.6/builds/118/steps/shell/logs/stdio | ||||
* | Make runner for unit tests configurable, add TAPTestRunner that formats | anatoly techtonik | 2014-03-20 | 3 | -0/+160 |
| | | | | | | output according to TAP protocol http://testanything.org/ runtest.py --runner TestUnit.TAPTestRunner src\engine\SCons\ActionTests.py | ||||
* | buildbot: (re)start automatically after setup | anatoly techtonik | 2014-03-05 | 1 | -0/+10 |
| | |||||
* | buildbot: Update host details | anatoly techtonik | 2014-03-05 | 1 | -0/+7 |
| | |||||
* | buildbot: Set contact details of the buildbot owner | anatoly techtonik | 2014-03-05 | 1 | -0/+9 |
| | |||||
* | buildbot: Create workdir under botuser | anatoly techtonik | 2014-03-05 | 1 | -0/+2 |
| | |||||
* | buildbot: No need to create relocatable workdir | anatoly techtonik | 2014-03-05 | 1 | -1/+1 |
| | |||||
* | buildbot: Create buildbot workdir, and do not backup bot .hgrc | anatoly techtonik | 2014-03-05 | 2 | -8/+20 |
| | |||||
* | buildbot: pip module is a better way to install buildbot-slave in virtualenv | anatoly techtonik | 2014-03-05 | 1 | -4/+3 |
| | |||||
* | buildbot: Keep virtualenv isolated from system packages | anatoly techtonik | 2014-03-05 | 1 | -1/+1 |
| | |||||
* | buildbot: Explain how to run and add hosts file | anatoly techtonik | 2014-03-05 | 3 | -1/+6 |
| | |||||
* | buildbot.yml: Create virtualenv | anatoly techtonik | 2014-03-05 | 1 | -0/+7 |
| | |||||
* | buildbot.yml: Change bot user to 'scons' and explain how to override | anatoly techtonik | 2014-03-05 | 1 | -1/+2 |
| | |||||
* | buildbot.yml: python-virtualenv is needed | anatoly techtonik | 2014-03-05 | 1 | -1/+4 |
| | |||||
* | buildbot.yml: Touch .hgrc only if necessary | anatoly techtonik | 2014-03-05 | 1 | -1/+4 |
| | |||||
* | buildbot.yml: Set .hgrc owner as botuser | anatoly techtonik | 2014-03-05 | 1 | -1/+6 |
| | |||||
* | Add Ansible playbook to setup buildbot instance more easily | anatoly techtonik | 2014-03-04 | 2 | -0/+25 |