diff options
Diffstat (limited to 'src/engine/SCons/ExecutorTests.py')
| -rw-r--r-- | src/engine/SCons/ExecutorTests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/ExecutorTests.py b/src/engine/SCons/ExecutorTests.py index c391543..cfa2dcd 100644 --- a/src/engine/SCons/ExecutorTests.py +++ b/src/engine/SCons/ExecutorTests.py @@ -81,6 +81,12 @@ class ExecutorTestCase(unittest.TestCase): assert x.targets == 't', x.targets source_list.append('s3') assert x.sources == ['s1', 's2'], x.sources + try: + x = SCons.Executor.Executor(None, 'e', ['o'], 't', source_list) + except SCons.Errors.UserError: + pass + else: + raise "Did not catch expected UserError" def test_get_build_env(self): """Test fetching and generating a build environment""" |
