Ejemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     configuration = kwargs.pop('configuration')
     self.command = self.command + ['--' + configuration]
     self.name = "set-configuration-%s" % (configuration, )
     self.description = ["set configuration %s" % (configuration, )]
     self.descriptionDone = ["set configuration %s" % (configuration, )]
     ShellCommand.__init__(self, *args, **kwargs)
Ejemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     configuration = kwargs.pop('configuration')
     self.command = self.command + ['--' + configuration]
     self.name = "set-configuration-%s" % (configuration,  )
     self.description = ["set configuration %s" % (configuration, )]
     self.descriptionDone = ["set configuration %s" % (configuration, )]
     ShellCommand.__init__(self, *args, **kwargs)
Ejemplo n.º 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' % (
            self.getRemotePath(), )

        ShellCommand.__init__(self, *args, **kwargs)
Ejemplo n.º 4
0
    def setBuild(self, build):
        ShellCommand.setBuild(self, build)
        self.initializeForUpload()
        
        self.command = '''\
        if [[ -d WebKitBuild/Coverage/html ]]; then \
            find WebKitBuild/Coverage/html -type d -print0 | xargs -0 chmod ug+rx; \
            find WebKitBuild/Coverage/html -type f -print0 | xargs -0 chmod ug+r; \
            rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" WebKitBuild/Coverage/html/ %s && rm -rf WebKitBuild/Coverage/html; \
        fi;''' % (self.getRemotePath(), )

        self.addFactoryArguments(command=self.command)
Ejemplo n.º 5
0
    def setBuild(self, build):
        ShellCommand.setBuild(self, build)
        self.initializeForUpload()

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

        self.addFactoryArguments(command=self.command)
Ejemplo n.º 6
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)
Ejemplo n.º 7
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)
Ejemplo n.º 8
0
    def setBuild(self, build):
        ShellCommand.setBuild(self, build)
        self.initializeForUpload()

        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())

        self.addFactoryArguments(command=self.command)
Ejemplo n.º 9
0
    def setBuild(self, build):
        ShellCommand.setBuild(self, build)
        self.initializeForUpload()

        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())

        self.addFactoryArguments(command=self.command)
Ejemplo n.º 10
0
 def __init__(self, *args, **kwargs):
     ShellCommand.__init__(self, *args, **kwargs)
Ejemplo n.º 11
0
 def __init__(self, *args, **kwargs):
     ShellCommand.__init__(self, *args, **kwargs)
Ejemplo n.º 12
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)
Ejemplo n.º 13
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)
Ejemplo n.º 14
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)