summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/ErrorsTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/ErrorsTests.py')
-rw-r--r--src/engine/SCons/ErrorsTests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/ErrorsTests.py b/src/engine/SCons/ErrorsTests.py
index b128026..810f840 100644
--- a/src/engine/SCons/ErrorsTests.py
+++ b/src/engine/SCons/ErrorsTests.py
@@ -58,6 +58,12 @@ class ErrorsTestCase(unittest.TestCase):
except SCons.Errors.ExplicitExit, e:
assert e.node == "node"
+ def test_ConfigureDryRunError(self):
+ """Test the ConfigureDryRunError."""
+ try:
+ raise SCons.Errors.ConfigureDryRunError, "FileName"
+ except SCons.Errors.UserError, e:
+ assert e.args == "Cannot update configure test (FileName) within a dry-run."
if __name__ == "__main__":