summaryrefslogtreecommitdiffstats
path: root/test/File
Commit message (Collapse)AuthorAgeFilesLines
* Tweak a few tests "for form"Mats Wichmann2023-08-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three testcases did not call the required test.pass_test() at the end, meaning they report no official status on success: test/File/File-relpath.py test/Java/DerivedSourceTest.py test/MSVC/msvc_cache_force_defaults.py One test (test/MSVC/msvc_badversion.py) first checked for win32, then checked for not_msvc - the win32 feature-test isn't relevant, since we'll bail on not_msvc anyway - dropped that bit. Actual testcases are marked runnable scripts (start with shebang line). A few were missing this. Added the conventional (to SCons, though no longer very important) tail stanza of editor config comments. Note we have the .editorconfig file now, which is an actual standard, so someday we can probably trim all of these, but for now, keep consistency. For files otherwise being fiddled, do the copyright update and trim a few unneeded blank lines, and change some kwargs from x = y to x=y. These changes are all no-op, except for the three calls to pass_test, which just have to do with collected data at the end, not the running of the tests. Signed-off-by: Mats Wichmann <mats@linux.com>
* Add a copyright header to test filesMats Wichmann2023-05-211-11/+15
| | | | | | | | | | | | | A lot of files that are not the main test scripts had no license/copyright headers. This change adds those. In a small number of cases, this necessitaed a change to an expected line number from a failure/exception message. Along the way, some are lightly reformatted and some add a DefaultEnvironment call. Signed-off-by: Mats Wichmann <mats@linux.com>
* address sider issuesWilliam Deegan2021-03-261-5/+5
|
* Simplify test and fix to work on all platformsWilliam Deegan2021-03-262-22/+43
|
* Fix test to no longer need factory or scanner specified. Flesh out the ↵William Deegan2021-03-195-21/+22
| | | | fixture with actual dirs and files. Also add SOURCE.relpath, so singular case is also tested
* reorg tests a bit and move new relpath test's SConstruct to a fixture. Also ↵William Deegan2021-03-183-0/+144
fix copyright text block to be the current preferred version