changeset 21:0ee2b06ea304

fix destination names of test files to match test generator schema
author ross lazarus ross.lazarus@gmail.com
date Tue, 05 Jun 2012 22:18:30 +1000
parents 3f58115c6c5b
children c23e53f768ed
files rgToolFactory.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rgToolFactory.py	Tue Jun 05 22:15:31 2012 +1000
+++ b/rgToolFactory.py	Tue Jun 05 22:18:30 2012 +1000
@@ -249,11 +249,11 @@
         if self.opts.input_tab <> 'None': # we may have test data?
             testdir = os.path.join(tdir,'test-data')
             os.mkdir(testdir) # make tests directory
-            shutil.copyfile(self.opts.input_tab,os.path.join(testdir,'test1_in.tab'))
+            shutil.copyfile(self.opts.input_tab,os.path.join(testdir,self.test1Input))
             if self.opts.output_tab <> 'None':
-                shutil.copyfile(self.opts.output_tab,os.path.join(testdir,'test1_out.tab'))
+                shutil.copyfile(self.opts.output_tab,os.path.join(testdir,self.test1Output))
             if self.opts.make_HTML:
-                shutil.copyfile(self.opts.output_html,os.path.join(testdir,'test1_out.html'))
+                shutil.copyfile(self.opts.output_html,os.path.join(testdir,self.test1HTML))
             if self.opts.output_dir:
                 shutil.copyfile(self.tlog,os.path.join(testdir,'test1_out.log'))
         shutil.copyfile(self.xmlfile,os.path.join(tdir,self.xmlfile))