Skip to content
Snippets Groups Projects
Commit bea486bb authored by Johan Helsing's avatar Johan Helsing
Browse files

Prepare for running tests

parent fc7c2c09
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
texinfo \
unzip \
vim \
weston \
wget
RUN id build 2>/dev/null || useradd --uid 1000 --create-home build
......@@ -26,5 +27,8 @@ COPY clone-qt.sh /home/build
RUN ./clone-qt.sh
COPY build-qt.sh /home/build
RUN ./build-qt.sh
ENV XDG_RUNTIME_DIR=/tmp
ENV QT_QPA_PLATFORM=wayland
COPY test-qt.sh /home/build
CMD "/bin/bash"
......@@ -9,5 +9,6 @@ cd build-qt
-no-xcb \
-no-feature-vnc \
-no-linuxfb \
-nomake examples \
-feature-wayland-client
time make module-qtwayland
#!/bin/bash
set -ex
branch=5.11 #maybe set this from the Dockerfile
rm -rf qt5
git clone --depth 1 --branch $branch git://code.qt.io/qt/qt5.git
......
#!/bin/bash
set -ex
weston --backend=headless-backend.so &
cd build-qt/qtbase/tests/auto/gui/kernel
make check
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment