scons_gd/scons/test/toolpath/relative_import/image/SConstruct
2022-10-15 16:06:26 +02:00

11 lines
476 B
Python

env = Environment(tools=['TestTool1', 'TestTool1.TestTool1_2'], toolpath=['tools'])
# Test a relative import within the root of the tools directory
print("env['TestTool1'] = %s"%env.get('TestTool1'))
print("env['TestTool1_1'] = %s"%env.get('TestTool1_1'))
# Test a relative import within a sub dir
print("env['TestTool1_2'] = %s"%env.get('TestTool1_2'))
print("env['TestTool1_2_1'] = %s"%env.get('TestTool1_2_1'))
print("env['TestTool1_2_2'] = %s"%env.get('TestTool1_2_2'))