diff options
author | Dirk Baechle <dl9obn@darc.de> | 2013-10-08 10:54:45 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2013-10-08 10:54:45 (GMT) |
commit | 3bebac3d0e8f24065ecda4abb2a2dad7b1d57164 (patch) | |
tree | b2755eb58dbe9893e1d091b292b3a486fa6d7679 /test | |
parent | 32676cbecfa28980b77426da56bfc1b8429ccb7d (diff) | |
download | SCons-3bebac3d0e8f24065ecda4abb2a2dad7b1d57164.zip SCons-3bebac3d0e8f24065ecda4abb2a2dad7b1d57164.tar.gz SCons-3bebac3d0e8f24065ecda4abb2a2dad7b1d57164.tar.bz2 |
- added an explicit Gs() Builder to the gs.py Tool
- updated documentation accordingly and added a (very) simple test
Diffstat (limited to 'test')
-rw-r--r-- | test/Ghostscript/GS.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Ghostscript/GS.py b/test/Ghostscript/GS.py index 2cae8b8..daeea09 100644 --- a/test/Ghostscript/GS.py +++ b/test/Ghostscript/GS.py @@ -51,6 +51,7 @@ env = Environment(GS = r'%(_python_)s mygs.py', GSCOM = r'$GS $TARGET $SOURCE', tools=['gs']) env.PDF(target = 'test1.pdf', source = 'test1.ps') +env.Gs(target = 'test2.pdf', source = 'test1.ps') """ % locals()) test.write('test1.ps', r"""This is a .ps test. @@ -60,6 +61,7 @@ test.write('test1.ps', r"""This is a .ps test. test.run(arguments = '.', stderr = None) test.fail_test(test.read('test1.pdf') != "This is a .ps test.\n") +test.fail_test(test.read('test2.pdf') != "This is a .ps test.\n") |