summaryrefslogtreecommitdiff
path: root/buildstream/testing/_sourcetests/project/files
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/testing/_sourcetests/project/files')
-rw-r--r--buildstream/testing/_sourcetests/project/files/bar0
-rwxr-xr-xbuildstream/testing/_sourcetests/project/files/bin-files/usr/bin/hello3
-rw-r--r--buildstream/testing/_sourcetests/project/files/dev-files/usr/include/pony.h12
-rw-r--r--buildstream/testing/_sourcetests/project/files/etc-files/etc/buildstream/config1
-rw-r--r--buildstream/testing/_sourcetests/project/files/foo0
-rw-r--r--buildstream/testing/_sourcetests/project/files/source-bundle/llamas.txt1
-rw-r--r--buildstream/testing/_sourcetests/project/files/sub-project/elements/import-etc.bst4
-rw-r--r--buildstream/testing/_sourcetests/project/files/sub-project/files/etc-files/etc/animal.conf1
-rw-r--r--buildstream/testing/_sourcetests/project/files/sub-project/project.conf4
9 files changed, 26 insertions, 0 deletions
diff --git a/buildstream/testing/_sourcetests/project/files/bar b/buildstream/testing/_sourcetests/project/files/bar
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/bar
diff --git a/buildstream/testing/_sourcetests/project/files/bin-files/usr/bin/hello b/buildstream/testing/_sourcetests/project/files/bin-files/usr/bin/hello
new file mode 100755
index 000000000..f534a4083
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/bin-files/usr/bin/hello
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo "Hello !"
diff --git a/buildstream/testing/_sourcetests/project/files/dev-files/usr/include/pony.h b/buildstream/testing/_sourcetests/project/files/dev-files/usr/include/pony.h
new file mode 100644
index 000000000..40bd0c2e7
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/dev-files/usr/include/pony.h
@@ -0,0 +1,12 @@
+#ifndef __PONY_H__
+#define __PONY_H__
+
+#define PONY_BEGIN "Once upon a time, there was a pony."
+#define PONY_END "And they lived happily ever after, the end."
+
+#define MAKE_PONY(story) \
+ PONY_BEGIN \
+ story \
+ PONY_END
+
+#endif /* __PONY_H__ */
diff --git a/buildstream/testing/_sourcetests/project/files/etc-files/etc/buildstream/config b/buildstream/testing/_sourcetests/project/files/etc-files/etc/buildstream/config
new file mode 100644
index 000000000..04204c7c9
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/etc-files/etc/buildstream/config
@@ -0,0 +1 @@
+config
diff --git a/buildstream/testing/_sourcetests/project/files/foo b/buildstream/testing/_sourcetests/project/files/foo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/foo
diff --git a/buildstream/testing/_sourcetests/project/files/source-bundle/llamas.txt b/buildstream/testing/_sourcetests/project/files/source-bundle/llamas.txt
new file mode 100644
index 000000000..f98b24871
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/source-bundle/llamas.txt
@@ -0,0 +1 @@
+llamas
diff --git a/buildstream/testing/_sourcetests/project/files/sub-project/elements/import-etc.bst b/buildstream/testing/_sourcetests/project/files/sub-project/elements/import-etc.bst
new file mode 100644
index 000000000..f0171990e
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/sub-project/elements/import-etc.bst
@@ -0,0 +1,4 @@
+kind: import
+sources:
+- kind: local
+ path: files/etc-files
diff --git a/buildstream/testing/_sourcetests/project/files/sub-project/files/etc-files/etc/animal.conf b/buildstream/testing/_sourcetests/project/files/sub-project/files/etc-files/etc/animal.conf
new file mode 100644
index 000000000..db8c36cba
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/sub-project/files/etc-files/etc/animal.conf
@@ -0,0 +1 @@
+animal=Pony
diff --git a/buildstream/testing/_sourcetests/project/files/sub-project/project.conf b/buildstream/testing/_sourcetests/project/files/sub-project/project.conf
new file mode 100644
index 000000000..bbb8414a3
--- /dev/null
+++ b/buildstream/testing/_sourcetests/project/files/sub-project/project.conf
@@ -0,0 +1,4 @@
+# Project config for frontend build test
+name: subtest
+
+element-path: elements