diff options
author | grbd <garlicbready@googlemail.com> | 2018-04-15 11:15:48 (GMT) |
---|---|---|
committer | grbd <garlicbready@googlemail.com> | 2018-04-15 11:15:48 (GMT) |
commit | d2ac0761b978215d2006c4bf892bfb8b2a42172d (patch) | |
tree | 1d61be29f507f32f5fdab0e1525a948421d578bb /test | |
parent | 240e270dbbab754ab36ec6cea8cc7ba3faaa242c (diff) | |
download | SCons-d2ac0761b978215d2006c4bf892bfb8b2a42172d.zip SCons-d2ac0761b978215d2006c4bf892bfb8b2a42172d.tar.gz SCons-d2ac0761b978215d2006c4bf892bfb8b2a42172d.tar.bz2 |
Added in support for Sconstruct.py
Diffstat (limited to 'test')
-rw-r--r-- | test/SConstruct.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/SConstruct.py b/test/SConstruct.py index 3cf1c02..8bc8617 100644 --- a/test/SConstruct.py +++ b/test/SConstruct.py @@ -48,6 +48,15 @@ test.run(arguments = ".", stdout = test.wrap_stdout(read_str = 'sconstruct.py %s\n' % wpath, build_str = "scons: `.' is up to date.\n")) +test.write('Sconstruct.py', """ +import os +print("sconstruct.py "+os.getcwd()) +""") + +test.run(arguments = ".", + stdout = test.wrap_stdout(read_str = 'sconstruct.py %s\n' % wpath, + build_str = "scons: `.' is up to date.\n")) + test.write('SConstruct.py', """ import os print("SConstruct.py "+os.getcwd()) |