summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/ActionTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/ActionTests.py')
-rw-r--r--src/engine/SCons/ActionTests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine/SCons/ActionTests.py b/src/engine/SCons/ActionTests.py
index b3d7e8c..f699e61 100644
--- a/src/engine/SCons/ActionTests.py
+++ b/src/engine/SCons/ActionTests.py
@@ -1006,6 +1006,13 @@ class CommandGeneratorActionTestCase(unittest.TestCase):
s = a.strfunction([], [], env=Environment())
assert s == "sf was called", s
+ def f(target, source, env, for_signature, self=self):
+ def null(target, source, env):
+ pass
+ return SCons.Action.Action(null, strfunction=None)
+ a = SCons.Action.CommandGeneratorAction(f)
+ s = a.strfunction([], [], env=Environment())
+
def test_execute(self):
"""Test executing a command generator Action
"""