From 3cd9bbb550671c33307bcc04a87e59832aced178 Mon Sep 17 00:00:00 2001
From: Christian Stenger <christian.stenger@theqtcompany.com>
Date: Tue, 17 Mar 2015 10:57:11 +0100
Subject: [PATCH] Tests: Fix building

Change-Id: I381bb020b75fbc7e43bff6bd2fef5982ed114c14
Reviewed-by: hjk <hjk@theqtcompany.com>
---
 tests/auto/valgrind/memcheck/memcheck.pro | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/auto/valgrind/memcheck/memcheck.pro b/tests/auto/valgrind/memcheck/memcheck.pro
index 977beb79377..89ac9529618 100644
--- a/tests/auto/valgrind/memcheck/memcheck.pro
+++ b/tests/auto/valgrind/memcheck/memcheck.pro
@@ -2,6 +2,8 @@ TEMPLATE = subdirs
 
 parsertests.file = parsertests.pro
 
+# avoid race conditions when compiling shadowbuild and having more than one compile job
+modeldemo.depends = parsertests
 modeldemo.file = modeldemo.pro
 
 testapps.depends = modeldemo parsertests
-- 
GitLab