summaryrefslogtreecommitdiff
path: root/tests/integration/project
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-01-29 09:33:32 +0100
committerJürg Billeter <j@bitron.ch>2020-02-11 21:08:59 +0100
commitec7fb6e04dfc8f0d4c3e067ae8e39f19076cdc72 (patch)
treec08dde0ebc1827a90aeb8f1bfff0eea03bf9db7d /tests/integration/project
parente85ecc801b9da2cd43866d0779b7e89da0a1a690 (diff)
downloadbuildstream-ec7fb6e04dfc8f0d4c3e067ae8e39f19076cdc72.tar.gz
tests/integration/workspace.py: Add incremental build test
Verify basic incremental build and proper mtime handling.
Diffstat (limited to 'tests/integration/project')
-rw-r--r--tests/integration/project/files/workspace-incremental/Makefile7
-rw-r--r--tests/integration/project/files/workspace-incremental/source1
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/integration/project/files/workspace-incremental/Makefile b/tests/integration/project/files/workspace-incremental/Makefile
new file mode 100644
index 000000000..18333fd46
--- /dev/null
+++ b/tests/integration/project/files/workspace-incremental/Makefile
@@ -0,0 +1,7 @@
+all: random copy
+
+random:
+ dd if=/dev/urandom count=8 | sha256sum > random
+
+copy: source
+ cp source copy
diff --git a/tests/integration/project/files/workspace-incremental/source b/tests/integration/project/files/workspace-incremental/source
new file mode 100644
index 000000000..56a6051ca
--- /dev/null
+++ b/tests/integration/project/files/workspace-incremental/source
@@ -0,0 +1 @@
+1 \ No newline at end of file