aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest-serializer/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest-serializer/testscript')
-rw-r--r--tests/manifest-serializer/testscript35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/manifest-serializer/testscript b/tests/manifest-serializer/testscript
new file mode 100644
index 0000000..af96cc0
--- /dev/null
+++ b/tests/manifest-serializer/testscript
@@ -0,0 +1,35 @@
+# file : tests/manifest-serializer/testscript
+# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+$* <<EOI >>EOO
+
+1
+
+name
+foo
+
+version
+1.2.3
+
+description
+foo
+executable
+
+depends
+libfoo
+
+depends
+libbar
+
+EOI
+: 1
+name: foo
+version: 1.2.3
+description: foo
+executable
+depends: libfoo
+depends: libbar
+EOO
+
+#@@ TODO: test writing to file instead of stdout.