summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/BuilderTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/BuilderTests.py')
-rw-r--r--src/engine/SCons/BuilderTests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/BuilderTests.py b/src/engine/SCons/BuilderTests.py
index f7b329d..b856b08 100644
--- a/src/engine/SCons/BuilderTests.py
+++ b/src/engine/SCons/BuilderTests.py
@@ -303,6 +303,9 @@ class BuilderTestCase(unittest.TestCase):
tgt = builder(env, source = 'src3')
assert tgt.path == 'libsrc3', \
"Target has unexpected name: %s" % tgt.path
+ tgt = builder(env, target = 'lib/tgt4', source = 'lib/src4')
+ assert tgt.path == os.path.join('lib', 'libtgt4'), \
+ "Target has unexpected name: %s" % tgt.path
def test_src_suffix(self):
"""Test Builder creation with a specified source file suffix