summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* removed binary read and write so newlines are crossplatform and updated path ↵Daniel Moody2018-04-101-3/+3
| | | | for appveyor script
* updated yacc tool to add default paths, updated to test to use the tool ↵Daniel Moody2018-04-093-8/+14
| | | | specifically and know when to skip on windows.
* Fix clang and mingw testsWilliam Deegan2018-03-251-0/+2
|
* Merge pull request #3098 from dmoody256/JavaSconsFilesWilliam Deegan2018-02-141-3/+4
|\ | | | | Fix Jar to use SCons to check for files instead of python
| * fix for issue 3042, Jar method was not respecting variant dirs when using ↵Daniel Moody2018-02-111-3/+4
| | | | | | | | os.path to detect files or dirs
* | Replace all instances of `int main()` with `int main(void)`Jonathon Reinhart2018-02-1129-35/+35
|/
* Merge pull request #3045 from gabrielrussell/masterWilliam Deegan2018-01-301-0/+80
|\ | | | | update mtime on cache retrieval
| * test for mtime updateGabriel Russell2018-01-301-0/+15
| |
| * test for readonly cacheGabriel Russell2018-01-111-0/+65
| |
* | Remove SCons.Options code which has long been deprecated and already removed ↵William Deegan2018-01-309-1511/+0
| | | | | | | | from documents. Also remove associated tests.
* | Merge pull request #3048 from dmoody256/CoverageImprovementsWilliam Deegan2018-01-172-1/+11
|\ \ | | | | | | Coverage is missing coverage reports from test tmp dirs
| * | moved coverage check for tests to common location.Daniel Moody2018-01-172-2/+2
| | |
| * | forget to add import os for checking the environment for coverageDaniel Moody2017-12-301-1/+1
| | |
| * | several tests will not work with coverage, so set them to skipDaniel Moody2017-12-302-0/+10
| |/
* | Fix problem with Install and multiple dirs outside src tree.Gary Oberbrunner2018-01-054-0/+49
|/ | | | | | | | | | | | 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.
* updated jar to handle directories better, JarClassFile build doesnt return ↵Daniel Moody2017-12-031-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 Moody2017-12-031-5/+9
| | | | and varient dir.
* updated Jar builder to flatten source list, and added test for embedded sourcesDaniel Moody2017-11-191-0/+87
|
* Added Jar test to check if multiple targets can be passed.Daniel Moody2017-11-141-8/+29
|
* updated the JAR test to test that the java source files were actually ↵Daniel Moody2017-10-262-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.
* Merge pull request #9 from ztessler/repeattargetWilliam Deegan2017-10-224-0/+130
|\ | | | | Fix incorrect warning of different environments
| * Two new tests to verify warnings when targets are repeated with same ↵Zachary Tessler2017-10-122-0/+123
| | | | | | | | actions, but either environments or overrides differ.
| * Fix incorrect warning of different environments for a target when repeating ↵Zachary Tessler2017-10-062-0/+7
| | | | | | | | identical builder or Command calls that use overrides
* | Merge branch 'master' of https://github.com/dmoody256/scons into ↵William Deegan2017-10-121-0/+62
|\ \ | | | | | | | | | dmoody256-master
| * | added test to JAR to also check the case that java source files are passed ↵Daniel Moody2017-10-101-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 tests where the GenerateHelpText() sort function was never correct and ↵William Deegan2017-10-122-4/+4
|/ | | | fixing the logic broke the test because of that
* fix testsWilliam Deegan2017-09-261-1/+1
|
* Fix tests which break when using print() and no from __future__ import ↵William Deegan2017-09-2517-86/+81
| | | | print_function under python 2.7 because the print('a','b') effectively becomes printing a tuple which doesn't match the expected strings
* Support python 2 print statements in SConscriptsThomas Berg2017-09-251-0/+56
| | | | | | | | | This fixes a regression introduced in scons-3.0.0, where SConscripts containing python 2 print statements would cause syntax errors even when executing scons with python 2.7. This ensures backward compatibility, allowing users to build legacy code with scons-3.0.0 without having to patch it.
* Fix many epydoc warningsWilliam Deegan2017-09-011-8/+5
|
* Merged scons/scons into defaultWilliam Deegan2017-08-312-8/+17
|\
| * For consistency with another test.Russel Winder2017-08-232-8/+17
| |
* | Add string of actual output when the commands in this test are run manually. ↵William Deegan2017-08-291-0/+14
|/ | | | It appears that on non-win and win+py2.7 some of the output is getting dropped and so the test passes when it should fail. with win+py3.5or6 it intermittently fails as it should based on expected output. Though in reality the output is correct.
* Fix Bug #2486 - Allow SetOption('silent',True) - Previously this option ↵William Deegan2017-08-201-0/+14
| | | | could not be passed to SetOption
* Added fixes for docs / nested test for use of sys.path in toolpathgrbd2017-08-041-1/+5
|
* Added support for a PyPackageDir functiongrbd2017-08-0315-0/+95
|
* Merged scons/scons into defaultRichard W2017-08-011-12/+41
|\
| * Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-08-011-9/+8
| | | | | | | | Skip test if MSVC_VERSION is less than VS2015
| * Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-3/+9
| | | | | | | | Missed a couple of messages on fail_test
| * Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-8/+10
| | | | | | | | Code Review Fixes.
| * Fix MSVC_UWP_APP test to take into account the MSVC_VERSION.Ibrahim Esmat2017-07-271-8/+30
| | | | | | | | | | | | The test should take into account if the MSVC_VERSION is less than 14.0 (VS2015) and check that the LIBPATH doesn't include the store paths.
* | Update to user manual on how to use sys.path for toolpath, and toolpath in ↵grbd2017-08-012-4/+0
| | | | | | | | | | | | general also small update to tests
* | update to tests for nested toolsgrbd2017-07-2729-21/+109
|/ | | | and to add as an example for using sys.path in the toolpath
* Minor changes for Code ReviewIbrahim Esmat2017-07-261-4/+4
|
* Added MSVC_UWP_APP test to test setting MSVC_UWP_APP constructionIbrahim Esmat2017-07-261-0/+103
| | | | variable with desired effect.
* Amend the test file names to remove + symbols from file names.Russel Winder2017-07-024-0/+0
|
* Merge mainline.Russel Winder2017-07-0210-0/+95
|\
| * Added support for relative imports within tools for python3 and tests for ↵grbd2017-06-2710-0/+95
| | | | | | | | relative imports
* | Be more careful about the shared library names.Russel Winder2017-06-212-2/+33
| |
* | Initial commit for bringing Paweł Tomulik's clang and clang++ tools into ↵Russel Winder2017-06-218-0/+472
|/ | | | the mainline.