Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: Fix SyntaxWarnings on escapes in Python strings | Mats Wichmann | 2019-09-13 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | This is the remaining batch of SyntaxWarning cleanups in the test/ directory, as flagged by Python 3.8 (now tested with 3.8.0b4). Most of these are escapes in strings that are not recognized as Python-language escapes up front, due to the embedded nature of testing - tests write a string to a file which is actually Python (code or sconscript) which is later to be executed. Also changed the timestamp-fallback test to eliminate an imp module DeprecationWarning: since in all supported Python versions haslib is stdlib, drop that skip check; the md5 skip check can be a simple import now. My test runs with 3.8 show no SyntaxWarnings after this. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Use "in" in preference to string find method | Mats Wichmann | 2019-08-30 | 1 | -7/+7 |
| | | | | | | | | In places where only the found/not found status is needed, use the membership operator (in) for checks instead - makes for easier reading and is considered faster for shorter strings. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Move the jdk-version-glob test to unit tests | Mats Wichmann | 2019-04-17 | 1 | -94/+0 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | Add a test for JDK glob matching | Mats Wichmann | 2019-04-16 | 1 | -0/+94 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | [PR #3352] fix sider complaints: bare except | Mats Wichmann | 2019-04-14 | 1 | -2/+2 |
| | | | | | | | | | | | Sider in the CI system doesn't like the change which added a try/except block for a version without a dot. This was copied from a different file, so to fix the complaint, four instances are actually updated to "except ValueError" - I am assuming that this is the only thing that could go wrong, a version string cannot be converted with int(foo), which would throw ValueError. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | get rid of code copying PATH from os.environ | William Deegan | 2018-11-06 | 1 | -1/+3 |
| | |||||
* | Fix Java/multi-step.py to avoid picking up cygwin or mingw's link.exe which ↵ | William Deegan | 2018-11-05 | 1 | -1/+8 |
| | | | | takes different arguments than the expected msvc | ||||
* | Fix logic which populates JAVAINCLUDES when javac is not found. Restore ↵ | William Deegan | 2018-10-16 | 4 | -0/+15 |
| | | | | checks in some java tests to skip test if no javac and/or jar found | ||||
* | Fixes for Java tests on win32 | William Deegan | 2018-10-02 | 11 | -90/+55 |
| | |||||
* | Update to use paths set by javac, rmic. Also update RMISecurityManager to ↵ | William Deegan | 2018-10-02 | 1 | -13/+18 |
| | | | | SecurityManager (RMI.. has been deprecated for some time. JDK 1.8 started to issue deprecation warnings and break test) | ||||
* | Changed to allow scons java logic to find install for win32. Also add ↵ | William Deegan | 2018-10-02 | 1 | -6/+5 |
| | | | | declspec in c file which is sole object in DLL to ensure mslink creates the expected .LIB file. | ||||
* | Switch to depending on javac tool finding javac on win32 rather than the ↵ | William Deegan | 2018-10-01 | 1 | -17/+11 |
| | | | | test infrastructure. JavaCommon now has reasonable defaults for windows java sdk installs | ||||
* | add logic to find java installs and on win32 use this to add to ↵ | William Deegan | 2018-10-01 | 2 | -2/+2 |
| | | | | env['ENV']['PATH'] | ||||
* | Fix missing -c in testcase | William Deegan | 2018-10-01 | 2 | -4/+4 |
| | |||||
* | Add test for 1.8. Modularize java tests and move files to a fixture. Change ↵ | William Deegan | 2018-10-01 | 3 | -3/+9 |
| | | | | TestCommon's options_arguments to keep passed lists and not join them into a string. | ||||
* | change method of finding javac from using full path (which fails when it has ↵ | William Deegan | 2018-09-30 | 15 | -250/+373 |
| | | | | a space in it), to appending the path to javac to env['ENV']['PATH']. (Which is basically what msvc/msvs do) | ||||
* | Update java version support | Mats Wichmann | 2018-07-18 | 1 | -0/+4 |
| | | | | | | | | | | Although the newer versions are marketed as simple versions, scons will see them as dotted versions: 9.0, 10.0. Add some comments to this in test code - the RMI test skip ought to work as long as they stay dotted versions (since 10.0 >= 1.8); that code does run the test for a simple version like '6'. Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | change test to skip initializing any tools in DefaulEnvironment. Should ↵ | William Deegan | 2018-05-11 | 1 | -0/+10 |
| | | | | speed up test on windows a bit | ||||
* | Change bug references from tigris -> github | Mats Wichmann | 2018-04-24 | 4 | -4/+4 |
| | | | | Signed-off-by: Mats Wichmann <mats@linux.com> | ||||
* | fix for issue 3042, Jar method was not respecting variant dirs when using ↵ | Daniel Moody | 2018-02-11 | 1 | -3/+4 |
| | | | | os.path to detect files or dirs | ||||
* | updated jar to handle directories better, JarClassFile build doesnt return ↵ | Daniel Moody | 2017-12-03 | 1 | -1/+141 |
| | | | | any targets if no Java files are in the directory | ||||
* | updated jar.py to handle nodes and varanit dirs better, added test for nodes ↵ | Daniel Moody | 2017-12-03 | 1 | -5/+9 |
| | | | | and varient dir. | ||||
* | updated Jar builder to flatten source list, and added test for embedded sources | Daniel Moody | 2017-11-19 | 1 | -0/+87 |
| | |||||
* | Added Jar test to check if multiple targets can be passed. | Daniel Moody | 2017-11-14 | 1 | -8/+29 |
| | |||||
* | updated the JAR test to test that the java source files were actually ↵ | Daniel Moody | 2017-10-26 | 2 | -5/+21 |
| | | | | compiled and are in the resulting jar file. Also updated the swig dependency test to throw no result from what seems to be a non java related bug. | ||||
* | added test to JAR to also check the case that java source files are passed ↵ | Daniel Moody | 2017-10-10 | 1 | -0/+62 |
| | | | | directly as a source to the Jar builder. The only other test that did this was multi-setp.py which was reliant on swig being installed. | ||||
* | fix to run on mac. explicitly request swig tool | William Deegan | 2017-04-01 | 1 | -1/+1 |
| | |||||
* | py2/3 must_match mode='r' changes | William Deegan | 2017-03-13 | 4 | -15/+15 |
| | |||||
* | swap using wrapper.py fixture to wrapper_with_args.py. The fixture swap ↵ | William Deegan | 2017-03-13 | 4 | -20/+23 |
| | | | | missed that java tests wrapper was different. Also mode rb/wb changes, and switch to must_match with mode='r' | ||||
* | Replace list(filter()) with list comprehension. | Craig Rodrigues | 2017-03-11 | 3 | -3/+3 |
| | |||||
* | Moved common my<xxx>.py functions to global fixture and resolve byte/str. | William Blevins | 2016-10-03 | 8 | -117/+16 |
| | |||||
* | Updating tests to use fixture wrapper.py. | William Blevins | 2016-09-24 | 3 | -18/+3 |
| | |||||
* | Merge in default. | Russel Winder | 2016-01-19 | 3 | -2/+19 |
|\ | |||||
| * | added comment per William Blevins comment on pull request to indicate why ↵ | William Deegan | 2016-01-17 | 3 | -0/+9 |
| | | | | | | | | we're skipping some tests for gcj | ||||
| * | changes to skip tests on ubuntu-next when gcj and not real java, and also ↵ | William Deegan | 2016-01-17 | 3 | -2/+10 |
| | | | | | | | | when no latex is available | ||||
* | | Post merge commit for safety. Building Fortran code works, but tests fail. | Russel Winder | 2015-12-24 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | - fixed Java test for derived sources problem, now favouring skip() | Dirk Baechle | 2014-09-18 | 1 | -4/+4 |
| | | | | | | | | over no_result() | ||||
* | | Merged default branch into python3-port to keep it up to date. | Gary Oberbrunner | 2014-08-23 | 2 | -36/+177 |
|\ \ | |/ | | | | | | | Hand-updated a few things to keep them python3-safe, and handled several merge conflicts. | ||||
| * | - several smaller fixes to get the Linux buildslaves green again | Dirk Baechle | 2014-08-07 | 1 | -36/+53 |
| | | |||||
| * | Skipping Java DerivedSourceTest for now until underlying issue is fixed. | Gary Oberbrunner | 2014-07-20 | 1 | -0/+4 |
| | | |||||
| * | Merging in pull request #152 from William Blevins (Java test) | Gary Oberbrunner | 2014-07-20 | 1 | -0/+120 |
| |\ | |||||
| | * | Issue 1771/2931: Added no_result check for tools to validate initial test ↵ | William Blevins | 2014-07-18 | 1 | -0/+4 |
| | | | | | | | | | | | | conditions. | ||||
| | * | Updated DerivedSourceTest.py to test against a dependency tree. | William Blevins | 2014-07-16 | 1 | -1/+20 |
| | | | | | | | | | | | | This was a best guess for the output. | ||||
| | * | Set default toolchain. | William Blevins | 2014-07-13 | 1 | -3/+3 |
| | | | | | | | | | | | | Other updates per code review. | ||||
| | * | Added a high-level test for issue 1771/2931. | William Blevins | 2014-07-12 | 1 | -0/+97 |
| |/ | | | | | | | | | Shows that Java emitter for derived-sources is broken regardless of the source generation method. | ||||
* | | Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes). | Stefan Zimmermann | 2014-03-31 | 1 | -0/+1 |
| | | |||||
* | | Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion. | Gary Oberbrunner | 2013-09-22 | 1 | -1/+1 |
|/ | |||||
* | Changes for issue #2730: | Dirk Baechle | 2011-07-07 | 2 | -0/+175 |
| | | | | | | - temporarily disabling the detect routine for the Tools 'jar' and 'rmic' - added a simple testcase for each - changes to Announce.txt (typos) and CHANGES.txt | ||||
* | http://scons.tigris.org/issues/show_bug.cgi?id=2345 | Greg Noel | 2010-04-24 | 3 | -6/+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. | ||||
* | Replace remaining os.path.walk() calls with os.walk(). | Steven Knight | 2010-04-18 | 3 | -33/+3 |
| |