aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-07-11 17:19:04 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-07-16 09:41:23 +0200
commit5ffdee71e50e9593794e66139baa0c355e0bd88e (patch)
tree2dcdf712bb546a04049c493f81c6fb93d21346ad /tests/auto/api/testdata
parente85876f236ad45b3327b7efefe79430d3972a4cf (diff)
Put a system-wide lock on the build directory.
So that two qbs instances can't overwrite each other's build graphs. In practice, this is probably most relevant for IDEs, as these hold a build graph for potentially long periods of time. Facilitates QLockFile that was introduced in Qt 5.1. For older Qt versions, no locking happens. Task-number: QBS-162 Change-Id: Ib598617fb1742eb57b6a017f40b9631d1d54e627 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/testdata')
-rw-r--r--tests/auto/api/testdata/buildgraph-locking/project.qbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/buildgraph-locking/project.qbs b/tests/auto/api/testdata/buildgraph-locking/project.qbs
new file mode 100644
index 000000000..e08b008bc
--- /dev/null
+++ b/tests/auto/api/testdata/buildgraph-locking/project.qbs
@@ -0,0 +1,4 @@
+import qbs
+
+Project {
+}