diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-04-12 00:31:45 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-04-12 00:31:45 (GMT) |
commit | 1b6f61fc02e796fa754b728b797b1c1f6a360f03 (patch) | |
tree | c008d75d32d9c360f3c637cf6a349c9a5508237f /test/option/fixture | |
parent | cef62d1719abb82f32a50d0c51aed03ca7f5cce0 (diff) | |
download | SCons-1b6f61fc02e796fa754b728b797b1c1f6a360f03.zip SCons-1b6f61fc02e796fa754b728b797b1c1f6a360f03.tar.gz SCons-1b6f61fc02e796fa754b728b797b1c1f6a360f03.tar.bz2 |
better handle all/none and multiple options, expanded tests to cover such
Diffstat (limited to 'test/option/fixture')
-rw-r--r-- | test/option/fixture/SConstruct__experimental | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/option/fixture/SConstruct__experimental b/test/option/fixture/SConstruct__experimental index aa5f4c3..2348b9a 100644 --- a/test/option/fixture/SConstruct__experimental +++ b/test/option/fixture/SConstruct__experimental @@ -1,6 +1,9 @@ +from SCons.Script.SConsOptions import experimental_features + +print("All Features=%s" % ','.join(sorted(experimental_features))) + DefaultEnvironment(tools=[]) env = Environment(tools=[]) exp = GetOption('experimental') -print("Experimental=%s" % exp) -print("All=%s" % ('all' in exp)) +print("Experimental=%s" % sorted(exp)) |