This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list-webkit-tests() { | |
search_dir=$WK_SOURCE_DIR/LayoutTests/ | |
echo 'Searching layout tests matching "'$*'" on '$search_dir'...'; | |
grep -R $* -r $search_dir | grep .html | cut -f1 -d' ' | cut -f1 -d':' | uniq 2>&1; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <cstring> | |
#include <set> | |
using namespace std; | |
typedef unsigned long long uint64; | |
const uint64 hash_base = 263; | |
uint64 hash(const char* s) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TRIGGER_TIME=$1 | |
CMD=$2 | |
echo "Scheduled run of \"$CMD\" at $TRIGGER_TIME..." | |
while : | |
do | |
NOW=`date +"%H:%M"` | |
if [ $NOW = $TRIGGER_TIME ]; then break; fi | |
sleep 30 | |
done | |
$CMD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ `ps auxw | grep "scheduled-task.sh" | wc -l` -lt 2 ]; | |
then | |
sh $HOME/scheduled-task.sh "02:10" "echo 'hello'" | |
fi; |
OlderNewer