summaryrefslogtreecommitdiffstats
path: root/test/SConscript/must_exist.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the new missing-sconscript test for WindowsMats Wichmann2018-08-091-12/+15
| | | | | | | | | | Missed that string matching on the invalid sconscript path needs to be OS-agnostic - the CI builders don't include a windows image, so this was not caught. Call normpath on the path before pushing it into the expected strings. Signed-off-by: Mats Wichmann <mats@linux.com>
* Some further adjustments to missing-sconscript testsMats Wichmann2018-07-301-2/+2
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Add tests for SConscript(must_warn) optionMats Wichmann2018-07-281-0/+119
Testcases added to confirm the behavior of: first attempt to call a non-existent script gives a deprecation warning, additional ones give plain warning; True/False values for must_warn behave as expected; if scons default is changed to exception the call fails but if must_warn=False it still works. Tweaked the logic to actually get that last bit to work. Also minor doc update. Signed-off-by: Mats Wichmann <mats@linux.com>