Commit f7597313 authored by Johan Helsing's avatar Johan Helsing

Minor cleanups

parent 2a6bdc4a
......@@ -14,4 +14,4 @@ Build:
Run:
$ docker run -it docker-qt-tests
$ docker run -e QT_DOCKERTEST_QTWAYLAND_REV=<sha1> -it docker-qt-tests
#!/bin/bash
set -ex
cd ~/build-qt/qtbase
make sub-tests
make sub-tests -ks
#!/bin/bash
set -ex
cd ~/build-qt/qtwayland
make sub-tests
make sub-tests -ks
#!/bin/bash
set -ex
qt5_rev=${QT_DOCKERTEST_QT5_REV:-5.11}
rm -rf qt5
mkdir qt5
cd qt5
srcdir=$(pwd)/qt5
rm -rf $srcdir
mkdir $srcdir
cd $srcdir
git init
git remote add origin https://codereview.qt-project.org/qt/qt5.git
git fetch --depth 1 origin "$qt5_rev"
......@@ -14,7 +17,7 @@ git checkout FETCH_HEAD
git submodule update --init --depth 50 -- qtbase qtxmlpatterns qtdeclarative qtwayland
if [[ -v QT_DOCKERTEST_QTWAYLAND_REV ]] ; then
cd qtwayland
cd "$srcdir/qtwayland"
git fetch --depth 1 origin "$QT_DOCKERTEST_QTWAYLAND_REV"
git checkout FETCH_HEAD
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment