Skip to content

Instantly share code, notes, and snippets.

@rafaelbrandao
rafaelbrandao / webkit-setup-env.sh
Created August 24, 2012 16:16
webkit-setup-env upgraded to support multiple working dirs
export GITDIR='/home/rafaelbrandao/work'
export BASE_PATH=$PATH
prepare-base () {
unset LIBRARY_PATH
unset LD_LIBRARY_PATH
unset WK_SOURCE_DIR
unset WK_LIBRARY_PATH
unset QT_SOURCE_DIR
unset QT_LIBRARY_PATH
@rafaelbrandao
rafaelbrandao / how-to-rebaseline.txt
Created July 24, 2012 18:30
Ossy's instructions
- Let's concentrate for Qt 5 WebKit1 first (Qt 4.8 and Qt 5.0 WebKit2 results are very similar,
there are only ~500 different test results on them.) After we finished Qt 5.
- download http://build.webkit.sed.hu/x/layout-test-results.tar.gz , untar it where you want: my-favourite-path
(download can be slow a little bit, because it is a 330 Mb sized file.)
- Tools/Scripts/webkit-patch rebaseline-server my-favourite-path
- wait, wait and wait :) (starting server took 5-6 minutes for me because of this huge number of tests)
- Pick a directory for rebasing
- Add a comment to https://bugs.webkit.org/show_bug.cgi?id=85203, for example: "I started rebasing css2.1 tests."
(To avoid paralel working on same directory.)
- Select baseline target qt (not qt-5.0, qt-5.0-wk1, ...) at the bottom of the page.
#!/usr/bin/env python
m = ['RIO','ASR','IVE','NAZ','ALI','REF','TUR']
m.reverse()
r,c,R,C = (2,0,len(m),len(m[0]))
moves = [(-1,0),(0,1),(0,-1),(1,0)]
mark = [[0 for j in xrange(C)] for i in xrange(R)]
msg = []
while mark[r][c] < 5:
mark[r][c] = 1
msg.append(m[r][c])
#!/bin/bash
WEEKLY_QT5_HASH="78b8403e415e7e8d9405daebc9619c4a7cb85910"
THREADS=-j50
QT5_MODULES="qtjsbackend qtxmlpatterns qtscript qtquick1 qtdeclarative qt3d qtsensors qtlocation"
cd qt5
git checkout master
git clean -dxf
git reset --hard HEAD
git submodule foreach "git checkout master"
#!/bin/bash
WEEKLY_QT5_HASH="78b8403e415e7e8d9405daebc9619c4a7cb85910"
THREADS=-j50
QT5_MODULES="qtjsbackend qtxmlpatterns qtscript qtquick1 qtdeclarative qt3d qtsensors qtlocation"
cd qt5
git checkout master
git clean -dxf
git reset --hard HEAD
git submodule foreach "git checkout master"
@rafaelbrandao
rafaelbrandao / wip.diff
Created June 18, 2012 22:51
patch for bug #72489 - wip
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index f316444..9a22fa0 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,37 @@
+2012-06-18 Rafael Brandao <rafael.lobo@openbossa.org>
+
+ [NRWT] Fix --platform=qt-5.0 --new-baseline combo
+ https://bugs.webkit.org/show_bug.cgi?id=72489
+