Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More deletion of _JAVA_OPTIONS to runtest.py from travis startup files. | William Deegan | 2018-08-31 | 1 | -0/+4 |
| | |||||
* | Part of previous change restored | Mats Wichmann | 2018-08-30 | 1 | -1/+1 |
| | | | | | somehow the change from if test to try block got partly lost during commit. changing else->except | ||||
* | Rework the time.clock -> time.perf_counter change | Mats Wichmann | 2018-08-30 | 1 | -3/+2 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Do not use time.clock for Py3 in runtest | Mats Wichmann | 2018-08-30 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | time.clock is deprecated since Python 3.3 and will be removed in Python 3.8. 3.7 started issuing DeprecationWarning, which fails about 16 tests in AppVeyor CI (and running manually), since the warning appears in stderr stream and so real vs expected does not match any longer. Arguably the tests could be fixed to do a different check (contains rather than exactly-equal), but a change needs to be made anyway. use time.perf_counter as the time function for Python 3. This works for Windows and non-Windows; however since this function did not exist in 2.7 (added for 3.3), the Py2 case is left, which selects between time.clock and time.time depending on OS. Note this addresses runtest.py, but not code in bench/, which need attention also. Suggest that be a separate change since it's not failing tests. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | runtest.py: async is a reserved keyword in python 3.7 | Gary Oberbrunner | 2018-07-13 | 1 | -2/+2 |
| | | | | | I don't think the async arg is used anywhere, but I kept it and just changed the name so the tests run. | ||||
* | move test files from QMTest to testing/framework. QMtest hasn't been used in ↵ | William Deegan | 2018-04-30 | 1 | -5/+3 |
| | | | | quite some time | ||||
* | Fix problem with Install and multiple dirs outside src tree. | Gary Oberbrunner | 2018-01-05 | 1 | -1/+1 |
| | | | | | | | | | | | | In some cases it's possible to get a case where the target path already does exist, but the dir node for it hasn't been updated yet. This fix prevents MkdirFunc from trying to create it when it already exists. Added a testcase which failed before the fix and works after it. Also fixes a problem running tests on Windows, using standard python 3 which is installed in "C:/Program Files/Python36". The python path name has to be escaped in that case. See runtest.py. | ||||
* | Merge branch 'appveyor' of https://github.com/ajf58/scons into AppveyorCIScript | Daniel Moody | 2017-12-22 | 1 | -15/+6 |
|\ | |||||
| * | Threading module should definitely be present. Don't try and soldier on ↵ | Andrew Featherstone | 2017-12-20 | 1 | -15/+6 |
| | | | | | | | | without it. | ||||
* | | adding in JobTests.py workaround with the coverage testing, also updated ↵ | Daniel Moody | 2017-12-09 | 1 | -6/+20 |
|/ | | | | runtest.py with the exclude option from Github PR 27. | ||||
* | Changed to os.pathsep for fixture dirs | grbd | 2017-06-21 | 1 | -1/+1 |
| | |||||
* | Fix the directory seperator for Fixture directories to be windows compatible | grbd | 2017-06-20 | 1 | -1/+1 |
| | |||||
* | Fix issue where a blank line would lead to runtest.py dropping user into a ↵ | William Deegan | 2017-04-09 | 1 | -0/+1 |
| | | | | python shell | ||||
* | change logic to drop ./ or .\ from front of specified test/testpath so logic ↵ | William Deegan | 2017-04-03 | 1 | -1/+7 |
| | | | | to match test or src will work properly. This is mainly just useful on windows when autocompleting paths | ||||
* | Fix runtest.py to work with win32 paths specified as .\test\xyz | William Deegan | 2017-04-03 | 1 | -0/+3 |
| | |||||
* | Use print() function to fix py2/3 | Craig Rodrigues | 2017-03-10 | 1 | -2/+2 |
| | |||||
* | start some changes to show pass/fail stats along with progress | William Deegan | 2017-02-26 | 1 | -3/+18 |
| | |||||
* | Moved fixture directory under #test. | William Blevins | 2016-09-24 | 1 | -1/+1 |
| | |||||
* | Initial python3 cut of test/Fortran. | William Blevins | 2016-09-23 | 1 | -2/+2 |
| | |||||
* | Allowed for multiple fixture dirs and added default global directory. | William Blevins | 2016-09-23 | 1 | -3/+5 |
| | |||||
* | Post merge commit for safety. Building Fortran code works, but tests fail. | Russel Winder | 2015-12-24 | 1 | -13/+2 |
|\ | |||||
| * | removed several pre-2.7 methods and imports, including some basic refactorings | Dirk Baechle | 2015-12-10 | 1 | -13/+2 |
| | | |||||
* | | Added six module as SCons.compat.six, for python3 port. | Gary Oberbrunner | 2014-04-20 | 1 | -3/+2 |
| | | |||||
* | | Merged with [default] | Stefan Zimmermann | 2014-03-31 | 1 | -140/+95 |
|\ \ | |/ | |||||
| * | Fix running tests in subdir as argument to runtest.py, e.g. | anatoly techtonik | 2014-03-24 | 1 | -2/+2 |
| | | | | | | | | python runtest.py test/CC | ||||
| * | runtest.py: Make sure --runner argument is only passed to unit tests | anatoly techtonik | 2014-03-21 | 1 | -2/+5 |
| | | |||||
| * | Make runner for unit tests configurable, add TAPTestRunner that formats | anatoly techtonik | 2014-03-20 | 1 | -3/+11 |
| | | | | | | | | | | | | output according to TAP protocol http://testanything.org/ runtest.py --runner TestUnit.TAPTestRunner src\engine\SCons\ActionTests.py | ||||
| * | runtest.py: Remove double check if no tests are found. | anatoly techtonik | 2014-03-20 | 1 | -8/+3 |
| | | |||||
| * | runtest.py: Simplify test discovery code (and show where unittests are) | anatoly techtonik | 2014-03-20 | 1 | -20/+31 |
| | | |||||
| * | runtest.py: "module tests" are properly named "end-to-end" tests | anatoly techtonik | 2014-03-20 | 1 | -3/+4 |
| | | |||||
| * | runtest.py: Improve cmdline help readability with hg-style format | anatoly techtonik | 2014-03-17 | 1 | -22/+22 |
| | | |||||
| * | runtest.py: Show usage lines on error, improve help message | anatoly techtonik | 2014-03-13 | 1 | -16/+12 |
| | | |||||
| * | runtest.py: Clarify code a bit | anatoly techtonik | 2014-03-07 | 1 | -3/+13 |
| | | |||||
| * | runtest.py: Remove qmtest support | anatoly techtonik | 2014-03-06 | 1 | -71/+3 |
| | | |||||
| * | runtest.py: Rewrite module description | anatoly techtonik | 2014-03-06 | 1 | -9/+8 |
| | | |||||
* | | Some more six.PY2/PY3 usage. | Stefan Zimmermann | 2014-01-08 | 1 | -2/+4 |
| | | |||||
* | | Merged with [default] | Stefan Zimmermann | 2014-03-31 | 1 | -13/+25 |
|\ \ | |/ | |||||
| * | Addition of warning if build doesn't build expected targets. | Tom Tanner | 2013-09-26 | 1 | -13/+25 |
| | | | | | | | | Added option to runtest.py to stop on first error | ||||
* | | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes). | Stefan Zimmermann | 2014-03-31 | 1 | -2/+6 |
| | | |||||
* | | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion. | Gary Oberbrunner | 2013-09-22 | 1 | -12/+12 |
|/ | |||||
* | update to latest SCons commits | Robert Managan | 2012-12-18 | 1 | -221/+268 |
|\ | |||||
| * | runtest.py: Enable -o, --output to save stdout/stderr into a file | anatoly techtonik | 2012-12-18 | 1 | -7/+15 |
| | | |||||
| * | runtest.py: Fix CRLF | anatoly techtonik | 2012-12-18 | 1 | -2/+2 |
| | | |||||
| * | runtest.py: Replace `-o file --xml` with `--xml file` | anatoly techtonik | 2012-12-17 | 1 | -27/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | `runtest.py -o file ...` never worked right throwing exception: Traceback (most recent call last): File "...\runtest.py", line 925, in <module> tests[0].header(f) IndexError: list index out of range Leaving -o argument to gather all output into a file (work in process) also allows to capture output and format test results in parallel. | ||||
| * | runtest.py: Exit with an error if no tests were found | anatoly techtonik | 2012-12-17 | 1 | -2/+7 |
| | | |||||
| * | runtest.py: remove --noqmtest option | anatoly techtonik | 2012-12-17 | 1 | -11/+3 |
| | | |||||
| * | Merge runtest.py fixes | anatoly techtonik | 2012-12-17 | 1 | -20/+50 |
| |\ | |||||
| | * | runtest.py: Turn on unbuffered output ASAP. | anatoly techtonik | 2012-12-15 | 1 | -13/+18 |
| | | | |||||
| | * | runtest.py: Gradually moving from getopt to optparse | anatoly techtonik | 2012-12-14 | 1 | -8/+33 |
| | | | |||||
| * | | Add -jN support to runtest.py to run tests in parallel | Gary Oberbrunner | 2012-12-17 | 1 | -11/+72 |
| |/ |