Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix incorrect testing assumptions for Solaris | Jakub Kulik | 2019-11-01 | 1 | -0/+2 |
| | |||||
* | Tweak a few tests | Mats Wichmann | 2019-05-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | "for i in range(len(foo))" idiom changed to iterate directly over lists instead of indexing them. zip() generates the iterator in the case with two lists. reversed() used for the Windows drive-letter test. gdbm is not gone, just renamed. change test to find under either name. Use a context manager for closing StringIO objects opened for capturing standard I/O streams. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | fix a couple tests broken by binary write in wrapper.py. previously compared ↵ | William Deegan | 2018-11-02 | 1 | -1/+1 |
| | | | | against string with native os.linesep | ||||
* | use absolute python path in sheabangs | Paweł Tomulik | 2018-10-22 | 1 | -2/+3 |
| | |||||
* | remove unnecessary sheabangs from scripts generated by end-to-end tests | Paweł Tomulik | 2018-10-22 | 1 | -19/+20 |
| | |||||
* | Correct sheabangs in code snippets under test/ | Paweł Tomulik | 2018-10-22 | 1 | -3/+3 |
| | |||||
* | Additional fixes for SWIG tests | Mats Wichmann | 2018-10-16 | 2 | -2/+2 |
| | | | | | | | | | | | | Two tests were missing the raw-string marker when defining the Python include path. TestSCons:get_platform_python_info needed some rework for Windows, it was failing to find the python library if running in a virtual environment. Also removed a try-block; sys.version_info is standard since Python 2.0 and so does not need wrapping. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | get_platform_python_info fail on missing Python.h | Mats Wichmann | 2018-08-17 | 12 | -24/+24 |
| | | | | | | | | | | evolved the get_platform_python_info test method to fail only if a new flag python_h_required is True. Rolled back the previous change to have the method return the path to the Python.h, this was not really needed since the include path is already returned. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Move checking for python header to common location | Mats Wichmann | 2018-08-15 | 12 | -62/+16 |
| | | | | | | | | | | | 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> | ||||
* | SWIG recursive test checkes for Python.h | Mats Wichmann | 2018-08-13 | 1 | -1/+7 |
| | | | | | | | | The generated code will #include <Python.h>, so skip the test if the appropriate development support for Python is not installed, the test will FAIL otherwise. The other SWIG tests do this already. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Fix for py2.7 + 3.5+ | William Deegan | 2018-07-08 | 1 | -0/+1 |
| | |||||
* | stop using obsolete distutils.sysconfig to find python include, link ↵ | William Deegan | 2018-07-08 | 1 | -2/+3 |
| | | | | paths,and library names. Use sysconfig.get_config_var() calls instead | ||||
* | pr-3052: moved some 64 bit logic to TestCmd and used TestCmd system checks | Daniel Moody | 2018-05-25 | 1 | -2/+3 |
| | |||||
* | pr-3052: Needed to define target arch in the non-windows case | Daniel Moody | 2018-05-25 | 1 | -1/+3 |
| | |||||
* | pr-3052: made target arch transparent to non windows platforms | Daniel Moody | 2018-05-25 | 1 | -3/+3 |
| | |||||
* | pr-3052: removed debug print statements | Daniel Moody | 2018-05-25 | 1 | -2/+2 |
| | |||||
* | pr-3052: added a missing comma to the environment args | Daniel Moody | 2018-05-25 | 1 | -1/+1 |
| | |||||
* | pr-3052: Updated swig tool with some default paths and fixed test to build ↵ | Daniel Moody | 2018-05-25 | 1 | -11/+33 |
| | | | | on windows. | ||||
* | pr-3052: updated swig test to work for windows. | Daniel Moody | 2018-05-25 | 1 | -5/+1 |
| | |||||
* | fixed swig tests to work on windows | Daniel Moody | 2018-05-25 | 4 | -8/+19 |
| | |||||
* | fix test for osx (with macports only at this point) | William Deegan | 2017-04-18 | 1 | -0/+4 |
| | |||||
* | py2/3 fix unnecessary binary reads. pep8 format the file while we're out at | William Deegan | 2017-03-19 | 1 | -9/+10 |
| | |||||
* | Use print() function. Fixes py2/3 | Craig Rodrigues | 2017-03-11 | 1 | -3/+5 |
| | |||||
* | Use print() function to fix py2/3 | Craig Rodrigues | 2017-03-10 | 1 | -2/+4 |
| | |||||
* | Moved common my<xxx>.py functions to global fixture and resolve byte/str. | William Blevins | 2016-10-03 | 2 | -28/+4 |
| | |||||
* | Updating tests to use fixture wrapper.py. | William Blevins | 2016-09-24 | 1 | -6/+1 |
| | |||||
* | More test fixes. | William Blevins | 2016-09-21 | 2 | -2/+2 |
| | |||||
* | Fixed print()'s | William Deegan | 2016-05-09 | 1 | -9/+9 |
| | |||||
* | Merged in williamblevins/scons_20150323 (pull request #244) | William Deegan | 2015-11-13 | 1 | -0/+123 |
|\ | |||||
| * | Issue 2264: Added SWIG recursive dependency tests. | William Blevins | 2015-05-13 | 1 | -0/+123 |
| | | |||||
* | | edit test/SWIG/SWIG.py to covert PR #270 | Pawel Tomulik | 2015-10-19 | 1 | -2/+13 |
|/ | |||||
* | SWIG: improve tool detection, and update SWIG tests to run on Windows. | Gary Oberbrunner | 2014-08-21 | 13 | -25/+118 |
| | | | | | | | | | The tool detection is improved by checking for swig in env['SWIG'], where it is commonly set, as well as env['ENV']['PATH']. The tests mostly didn't work on Windows. I updated them all. Mostly to build 32-bit extensions when using 32-bit python on Windows, and use .pyd as the python extension on Windows. | ||||
* | Removed some garbage from tests (found by accident) | ptomulik | 2012-06-18 | 1 | -2/+0 |
| | |||||
* | - fixed SWIG module names for generated *.i files (#2707) | Dirk Baechle | 2011-09-07 | 1 | -0/+79 |
| | |||||
* | Apply patch from bug 2706 and create testcase to check for whitespace after ↵ | William Deegan | 2011-01-24 | 1 | -0/+91 |
| | | | | module name in %module directive | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-24 | 7 | -36/+0 |
| | | | | | | | Comb out all code that supported earlier versions of Python. Most such code is in snippets of only a few lines and can be identified by having a Python version string in it. Such snippets add up; this combing pass probably got rid of over 500 lines of code. | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )', which is incorrect for our cases, so these changes had to be done by hand and a forward-compatibility class added. The 'xrange' fixer was applied. Manual changes were minimal: a few case in test strings and one use of 'range' as an identifer in the same scope as where 'xrange' was converted to 'range'. The "sets15" compat function, which provided backward compatibility for Python versions prior to 2.2, was removed as no longer needed. | ||||
* | Move 2.0 changes collected in branches/pending back to trunk for further | Greg Noel | 2010-03-25 | 3 | -6/+4 |
| | | | | | development. Note that this set of changes is NOT backward-compatible; the trunk no longer works with Python 1.5.2, 2.0, or 2.1. | ||||
* | Don't hard-code the swig location in the expected output. | Steven Knight | 2009-11-28 | 1 | -11/+7 |
| | | | | Use test.wrap_stdout() instead of hard-coding the SCons messages. | ||||
* | Fix bug 1944 - handle non-existant .i files when swig emitter is called. ↵ | William Deegan | 2009-11-14 | 1 | -0/+102 |
| | | | | Make an educated guess on the generated module name based on the .i file name. | ||||
* | Solaris test portability fixes. | Steven Knight | 2009-08-03 | 1 | -0/+2 |
| | |||||
* | Modify the SWIG tests so that OS X is treated like a UNIX platform (which it | Greg Noel | 2009-04-18 | 11 | -114/+81 |
| | | | | | | really is). OS X now not only runs all the SWIG tests (it used to skip many of them because it could not find the appropriate files), it now passes all the tests. | ||||
* | Be sure to honor the setting of SWIGOUTDIR when the SWIG tool generates | Ben Webb | 2009-03-31 | 1 | -0/+95 |
| | | | | Python wrappers. | ||||
* | Add emacs and vim editing settings to the bottom of *.py files. | Steven Knight | 2009-02-09 | 14 | -0/+84 |
| | |||||
* | Remove (lots) more unnecessary imports. | Steven Knight | 2009-02-06 | 3 | -6/+0 |
| | |||||
* | Issue 2278: Emit header name when using SWIG directors (Ben Webb) | Greg Noel | 2009-01-17 | 1 | -9/+5 |
| | |||||
* | Issue 2279: Support $SWIGOUTDIR values with spaces in the | Steven Knight | 2009-01-08 | 1 | -6/+11 |
| | | | | directory name. (Arve Knudsen) | ||||
* | First part of issue 2278: handle quoted module names in SWIG source | Greg Noel | 2009-01-04 | 1 | -0/+92 |
| | |||||
* | Fix test to work with all versions of Python | Greg Noel | 2008-09-29 | 1 | -20/+21 |
| | |||||
* | Fix broken swig tests when python being used to run tests is incompatible ↵ | William Deegan | 2008-09-20 | 5 | -0/+5 |
| | | | | | | with system swig. Propagate to the created SConstructs the version of swig found by the test (which is used to determine whether to run or not run this test). |