~loyalinfo/openerp-tools/trunk

« back to all changes in this revision

Viewing changes to packaging70/package70.py

  • Committer: Vo Minh Thu
  • Date: 2013-03-11 15:45:27 UTC
  • Revision ID: vmt@openerp.com-20130311154527-obkr18gxfv6ghlqx
[IMP] packaging70: save the test reports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        self.rsync('"%s" Naresh@127.0.0.1:'%setuppath)
198
198
        self.ssh("TEMP=/tmp ./openerp-allinone-setup-%s.exe /S" % self.o.version_full)
199
199
        self.ssh('ls /cygdrive/c/"Program Files"/"OpenERP %s"/' % self.o.version_full)
 
200
        self.rsync('"repo/lpopenerp_openobject-addons_7.0/" Naresh@127.0.0.1:/cygdrive/c/Program?Files/OpenERP?%s/Server/server/openerp/addons/' % self.o.version_full, options='--exclude .bzrignore --exclude .bzr')
 
201
        self.ssh('ls /cygdrive/c/"Program Files"/"OpenERP %s"/Server/server/openerp/addons/' % self.o.version_full)
200
202
 
201
203
        self.ssh('PGPASSWORD=openpgpwd /cygdrive/c/"Program Files"/"OpenERP %s"/PostgreSQL/bin/createdb.exe -e -U openpg pack' % self.o.version_full)
202
204
        self.ssh('net stop "PostgreSQL_For_OpenERP"')
203
205
        self.ssh('net start "PostgreSQL_For_OpenERP"')
 
206
        self.ssh('mkdir test-reports')
204
207
 
205
 
        self.ssh('/cygdrive/c/"Program Files"/"OpenERP %s"/Server/server/openerp-server.exe -d pack -i base,report_webkit --stop-after-init --test-enable --log-level=test'%self.o.version_full)
206
 
        self.rsync('Naresh@127.0.0.1:/cygdrive/c/Program?Files/OpenERP?%s/Server/server/openerp-server.log "%s.log"'%(self.o.version_full, setuplog))
 
208
        self.ssh('/cygdrive/c/"Program Files"/"OpenERP %s"/Server/server/openerp-server.exe -d pack -i base,report_webkit,product --stop-after-init --test-enable --log-level=test --test-report-directory=test-reports'%self.o.version_full)
 
209
        self.rsync('Naresh@127.0.0.1:/cygdrive/c/Program?Files/OpenERP?%s/Server/server/openerp-server.log "%s"'%(self.o.version_full, setuplog))
 
210
        self.rsync('Naresh@127.0.0.1:test-reports/ "%s"' % self.o.pkg, options='')
207
211
 
208
212
def publish_move(o,srcs,dest):
209
213
    for i in srcs: