summaryrefslogtreecommitdiffstats
path: root/test/Removed/SourceSignatures
Commit message (Collapse)AuthorAgeFilesLines
* "Modernize" to Python 3.6 via toolMats Wichmann2023-08-041-5/+3
| | | | | | | | | | | | | | | | | | | | | $ pyupgrade --py36-plus $(<filelist) Here's mostly what it's done: - No more 'stringliteral'.encode('utf-8'): now b'stringliteral' - No more unicode literals - the default open mode is 'r', leaves out if default - some f-string conversions (if shorter) - catch OSError instead of subclasses - no more mention of "object" - generator expression instead of list comp. when safe - a few tests had a shebang but actually began with blank line - remove coding: utf-8 comment, per pep 3120 this is the default now Manually - if a file in test/ was modified, then did the copyright header conversion. 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-251-1/+1
| | | | | | | | | | 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-203-1/+3
| | | | | | | | | | 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 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-211-5/+10
| | | | | | | 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-2011-0/+650
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>