summaryrefslogtreecommitdiffstats
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* remove editor junkPaweł Tomulik2018-10-101-0/+0
|
* fixed minor typosPaweł Tomulik2018-10-052-5/+5
|
* fixed some docs in TestCommon.py and refactored a littlePaweł Tomulik2018-10-051-59/+39
|
* make the must[_not]_contain_...() functions compatible with str.findPaweł Tomulik2018-10-051-9/+9
|
* fixed bugs in must_[not_]_contain()Paweł Tomulik2018-10-051-6/+5
|
* add test cases to exhibit bugs in must_[not_]contain()Paweł Tomulik2018-10-051-2/+54
|
* Update testing docsMats Wichmann2018-09-081-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 changesMats Wichmann2018-08-171-10/+14
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Move checking for python header to common locationMats Wichmann2018-08-151-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 readsMats Wichmann2018-07-311-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_containMats Wichmann2018-07-251-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 TestCmdMats Wichmann2018-07-241-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 Deegan2018-07-101-4/+1
| | | | needed imports
* Fix for py2.7 + 3.5+William Deegan2018-07-081-5/+8
|
* stop using obsolete distutils.sysconfig to find python include, link ↵William Deegan2018-07-081-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 Deegan2018-07-061-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 checksDaniel Moody2018-05-251-1/+1
|
* Add wildcards so we'll catch both 32 and 64 bit versions of java on windows.William Deegan2018-05-111-2/+2
|
* Add some reasonable default windows paths to find java.William Deegan2018-05-111-11/+20
|
* move test files from QMTest to testing/framework. QMtest hasn't been used in ↵William Deegan2018-04-3012-0/+12359
| | | | quite some time
* Fix wiki references to point to gihub wikiMats Wichmann2018-04-231-1/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* 0.3 - fixed used imports that failed on Python 2.6anatoly techtonik2014-08-241-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.6anatoly techtonik2014-08-231-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 formatsanatoly techtonik2014-03-203-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 setupanatoly techtonik2014-03-051-0/+10
|
* buildbot: Update host detailsanatoly techtonik2014-03-051-0/+7
|
* buildbot: Set contact details of the buildbot owneranatoly techtonik2014-03-051-0/+9
|
* buildbot: Create workdir under botuseranatoly techtonik2014-03-051-0/+2
|
* buildbot: No need to create relocatable workdiranatoly techtonik2014-03-051-1/+1
|
* buildbot: Create buildbot workdir, and do not backup bot .hgrcanatoly techtonik2014-03-052-8/+20
|
* buildbot: pip module is a better way to install buildbot-slave in virtualenvanatoly techtonik2014-03-051-4/+3
|
* buildbot: Keep virtualenv isolated from system packagesanatoly techtonik2014-03-051-1/+1
|
* buildbot: Explain how to run and add hosts fileanatoly techtonik2014-03-053-1/+6
|
* buildbot.yml: Create virtualenvanatoly techtonik2014-03-051-0/+7
|
* buildbot.yml: Change bot user to 'scons' and explain how to overrideanatoly techtonik2014-03-051-1/+2
|
* buildbot.yml: python-virtualenv is neededanatoly techtonik2014-03-051-1/+4
|
* buildbot.yml: Touch .hgrc only if necessaryanatoly techtonik2014-03-051-1/+4
|
* buildbot.yml: Set .hgrc owner as botuseranatoly techtonik2014-03-051-1/+6
|
* Add Ansible playbook to setup buildbot instance more easilyanatoly techtonik2014-03-042-0/+25