summaryrefslogtreecommitdiffstats
path: root/test/Removed
Commit message (Collapse)AuthorAgeFilesLines
* Tweak the scons help messageMats Wichmann2022-02-034-20/+16
| | | | | | | | | | | | | Processing changed a bit - some lines can now be joined instead of split (if the usage part is short so the combination will still fit). Dropped the "Ingored for compatibility" chunk from the printout. The usage: message was changed as it didn't mention variables. A number of tests expected the exact value of that line, and so were updated. Updated docstrings (for the API docs). Signed-off-by: Mats Wichmann <mats@linux.com>
* Normalized all sconsfiles and sub-sconsfiles to use algorithm if not ↵Jacob Cassagnol2021-11-101-1/+1
| | | | | | | | | defaulted to md5. Dir search now excludes all types of sconsfiles that are now created. Environment now defaults to the current scons filename instead of .sconsfile Sconsign now has a function used by a lot of code that gets the default sconsign filename Any tests referring to .sconsfile have now been changed, including one old legacy test.
* Set Tasks class as abstractMats Wichmann2020-05-259-6/+72
| | | | | | | | | | needs_execut method set as an abstract method, meaning you can't instantiate Task itself, and derived classes must implement the methid. The former warning framework for this (deprecated) is disabled, and some unit tests that were not implementing needs_execute were fixed - by deriving from the AlwaysTask class. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3506] fix remnamt docstring and speed upMats Wichmann2019-12-2014-21/+15
| | | | | | | | | | left a pasted traceback in the SourceCode.py test, got rid of. applied "standard" speedup of dropping tools in DefaultEnvironmment and Environment, speeds up windows a lot (individual Removed tests running in 1 sec instead of 15) Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3506] fix sider complaintMats Wichmann2019-12-201-2/+0
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove deprecated SourceCode func/methodMats Wichmann2019-12-206-0/+207
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3497] skip test for build_dir kwargMats Wichmann2019-12-161-0/+3
| | | | | | | | Turns out cannot test for now-unknown build_dir arg because SConscript() doesn't error on such. Skip test for now, leaving a note (and and issue). Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3497] add missed sconstest.skipMats Wichmann2019-12-151-0/+0
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3497] add the missing testcasesMats Wichmann2019-12-152-0/+115
| | | | | | forgot to add these to the initial commit Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove deprecated BuildDir, build_dirMats Wichmann2019-12-156-0/+597
| | | | | | | | | Updates docs and code; moves tests to test/Removed/BuildDir/Old. New tests verify that these can no longer be used. Along the way a small cleanup in SConscript.py Signed-off-by: Mats Wichmann <mats@linux.com>
* fixed match function to be non-regexWilliam Deegan2019-12-141-1/+1
|
* Remove deprecated env.Copy()Mats Wichmann2019-12-145-0/+107
| | | | | | | | | Method removed. Test moved to test/Removed/Copy-Method/Old, and new test added to ensure it takes an AttributeError. Deprecation warning no longer useful for this one, so removed. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR 3464] quiet sider complaintsMats Wichmann2019-10-212-3/+0
| | | | | | | unused imports in a pair of tests that were moved and thus "touched". Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR 3464] rework new tests so they match stderrMats Wichmann2019-10-212-10/+20
| | | | | | | The re.DOTALL match function somehow wasn't matching the SConstruct error path, so build it up from known information instead. Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove deprecated {Source,Target}SignaturesMats Wichmann2019-10-2023-0/+1151
| | | | | | | | | | These two have been deprecated since 2010 (about SCons 2.0), commit 935e6985. Methods are removed, setoption for setting them removed, doc is removed, tests are migrated to test/Removed/*/Old with a sconstest.skip file so they don't run, and two new tests are added to confirm that using the functions and setoptions generate exceptions. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3444] fix test issues with --debug removalsMats Wichmann2019-09-121-0/+7
| | | | | | | | | | There were several uses of deprecated debug flags that had not been moved to to test/Deprecated, and so were missed when those moved to test/Removed. Also removed options from manpage. Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove deprecated debug optionsMats Wichmann2019-09-124-0/+228
These options have been deprecated since 2007. They were originally announced to be disabled in SCons 2.0.0, but that didn't happen. Left the deprecated-debug-options behavior is in, but the dictionary of such options is now empty, and there's a new dict of removed options, and presence in that dict raises an exception. The four tests that were in test/Deprecated move to a new directory test/Removed and are simplified just to make sure invocation errors scons out. (git interprets most of these as remove/add for some reason) These appear to have been already removed from docs, so no doc impact. Signed-off-by: Mats Wichmann <mats@linux.com>