Пример #1
0
    def __init__(self, *args, **kwargs):
        UploadCommand.__init__(self, *args, **kwargs)

        self.command = 'if [[ -d layout-test-results ]]; then find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; find layout-test-results -type f -print0 | xargs -0 chmod ug+r;  rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; fi' % (
            self.getRemotePath(), )

        ShellCommand.__init__(self, *args, **kwargs)
Пример #2
0
    def __init__(self, *args, **kwargs):
        UploadCommand.__init__(self, *args, **kwargs)

        self.command = '''\
        if [[ -d layout-test-results ]]; then \
            find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \
            find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \
            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; \
        fi; \
        CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \
        if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \
            chmod ug+r $CRASH_LOG; \
            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" $CRASH_LOG %s && rm -rf $CRASH_LOG; \
        fi;''' % (self.getRemotePath(), self.getRemotePath())

        ShellCommand.__init__(self, *args, **kwargs)
Пример #3
0
    def __init__(self, *args, **kwargs):
        UploadCommand.__init__(self, *args, **kwargs)
        
        self.command = '''\
        if [[ -d layout-test-results ]]; then \
            find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \
            find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \
            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; \
        fi; \
        CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \
        if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \
            chmod ug+r $CRASH_LOG; \
            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" $CRASH_LOG %s && rm -rf $CRASH_LOG; \
        fi;''' % (self.getRemotePath(), self.getRemotePath())

        ShellCommand.__init__(self, *args, **kwargs)
Пример #4
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = 'umask 002 && ./WebKitTools/BuildSlaveSupport/build-launcher-app && ./WebKitTools/BuildSlaveSupport/build-launcher-dmg --upload-to-host %s' % (
         self.getRemotePath(), )
     ShellCommand.__init__(self, *args, **kwargs)
Пример #5
0
 def getURLPath(self):
     return UploadCommand.getURLPath(self) + 'PerformanceReportSummary.xml'
Пример #6
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = self.command + [
         '--upload-results', self.getRemotePath()
     ]
     Test.__init__(self, *args, **kwargs)
Пример #7
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = 'umask 002 && ./WebKitTools/BuildSlaveSupport/build-launcher-app && ./WebKitTools/BuildSlaveSupport/build-launcher-dmg --upload-to-host %s' % (self.getRemotePath(), )
     ShellCommand.__init__(self, *args, **kwargs)
Пример #8
0
    def __init__(self, *args, **kwargs):
        UploadCommand.__init__(self, *args, **kwargs)
        
        self.command = 'if [[ -d layout-test-results ]]; then find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; find layout-test-results -type f -print0 | xargs -0 chmod ug+r;  rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; fi' % (self.getRemotePath(), )

        ShellCommand.__init__(self, *args, **kwargs)
Пример #9
0
 def getURLPath(self):
     return UploadCommand.getURLPath(self) + 'PerformanceReportSummary.xml'
Пример #10
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = self.command + ['--upload-results', self.getRemotePath()]
     Test.__init__(self, *args, **kwargs)