summaryrefslogtreecommitdiffstats
path: root/test/Java/java_version_image/src5/TestSCons.java
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2018-07-21 17:55:31 (GMT)
committerMats Wichmann <mats@linux.com>2018-07-21 18:24:13 (GMT)
commit9ec0b9861951cc72de39c742c1162a84696ce91f (patch)
treed94821f99072be08e14d2de2dcdeddb583d156dd /test/Java/java_version_image/src5/TestSCons.java
parentee03bf12b40248e89ada1e501cf52b9b7cd9f867 (diff)
downloadSCons-9ec0b9861951cc72de39c742c1162a84696ce91f.zip
SCons-9ec0b9861951cc72de39c742c1162a84696ce91f.tar.gz
SCons-9ec0b9861951cc72de39c742c1162a84696ce91f.tar.bz2
Add ability for SConscript to fail on missing script
SConscript call now takes an optional must_exist flag, which defaults to False for compatiility with current behavior. If True, an exception is raised if the file is missing. To improve readability, the decision is moved off to a new function rather than being inline in _SConscript. A global setting to control the overall behavior is also added. A deprecation warning is added for the current behavior, which is printed only once. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src5/TestSCons.java')
0 files changed, 0 insertions, 0 deletions