diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 17:40:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 17:40:06 +0200 |
commit | 82ad80de9a967f253026c4874b47486c69402288 (patch) | |
tree | 8bdc35b1a59e324b401291d7ea015cc0deb00c7d /tests/semantics | |
parent | 902f3763af4931c5c04c47d10e4d24dba96487cd (diff) |
Add headers to buildfiles, move tests/build/ to tests/
Diffstat (limited to 'tests/semantics')
l--------- | tests/semantics/include/buildfile | 1 | ||||
-rw-r--r-- | tests/semantics/include/includee1 | 1 | ||||
-rw-r--r-- | tests/semantics/include/includee2 | 1 | ||||
-rw-r--r-- | tests/semantics/include/includee4 | 1 | ||||
-rw-r--r-- | tests/semantics/include/includer | 10 | ||||
-rw-r--r-- | tests/semantics/include/nested/includee3 | 2 | ||||
-rw-r--r-- | tests/semantics/include/nested/includee5 | 1 | ||||
-rw-r--r-- | tests/semantics/include/test.std | 5 | ||||
l--------- | tests/semantics/source/buildfile | 1 | ||||
-rw-r--r-- | tests/semantics/source/nested/sourcee3 | 1 | ||||
-rw-r--r-- | tests/semantics/source/sourcee1 | 1 | ||||
-rw-r--r-- | tests/semantics/source/sourcee2 | 1 | ||||
-rw-r--r-- | tests/semantics/source/sourcer | 9 | ||||
-rw-r--r-- | tests/semantics/source/test.std | 5 |
14 files changed, 40 insertions, 0 deletions
diff --git a/tests/semantics/include/buildfile b/tests/semantics/include/buildfile new file mode 120000 index 0000000..361dcf4 --- /dev/null +++ b/tests/semantics/include/buildfile @@ -0,0 +1 @@ +includer
\ No newline at end of file diff --git a/tests/semantics/include/includee1 b/tests/semantics/include/includee1 new file mode 100644 index 0000000..70ed3fc --- /dev/null +++ b/tests/semantics/include/includee1 @@ -0,0 +1 @@ +print includee1
\ No newline at end of file diff --git a/tests/semantics/include/includee2 b/tests/semantics/include/includee2 new file mode 100644 index 0000000..762825b --- /dev/null +++ b/tests/semantics/include/includee2 @@ -0,0 +1 @@ +print includee2 diff --git a/tests/semantics/include/includee4 b/tests/semantics/include/includee4 new file mode 100644 index 0000000..4964d81 --- /dev/null +++ b/tests/semantics/include/includee4 @@ -0,0 +1 @@ +print includee4 diff --git a/tests/semantics/include/includer b/tests/semantics/include/includer new file mode 100644 index 0000000..70527a5 --- /dev/null +++ b/tests/semantics/include/includer @@ -0,0 +1,10 @@ +include +include includee1 +include includee1 ../include/includee2 # includee1 is skipped +include nested/includee3 +nested/: +{ + include includee5 + include ../includee2 # skipped +} +: diff --git a/tests/semantics/include/nested/includee3 b/tests/semantics/include/nested/includee3 new file mode 100644 index 0000000..7196e82 --- /dev/null +++ b/tests/semantics/include/nested/includee3 @@ -0,0 +1,2 @@ +print nested/includee3 +include ../includee4 diff --git a/tests/semantics/include/nested/includee5 b/tests/semantics/include/nested/includee5 new file mode 100644 index 0000000..b4c9c74 --- /dev/null +++ b/tests/semantics/include/nested/includee5 @@ -0,0 +1 @@ +print nested/includee5 diff --git a/tests/semantics/include/test.std b/tests/semantics/include/test.std new file mode 100644 index 0000000..559584c --- /dev/null +++ b/tests/semantics/include/test.std @@ -0,0 +1,5 @@ +includee1 +includee2 +nested/includee3 +includee4 +nested/includee5 diff --git a/tests/semantics/source/buildfile b/tests/semantics/source/buildfile new file mode 120000 index 0000000..b6d1987 --- /dev/null +++ b/tests/semantics/source/buildfile @@ -0,0 +1 @@ +sourcer
\ No newline at end of file diff --git a/tests/semantics/source/nested/sourcee3 b/tests/semantics/source/nested/sourcee3 new file mode 100644 index 0000000..cdf51fb --- /dev/null +++ b/tests/semantics/source/nested/sourcee3 @@ -0,0 +1 @@ +print nested/sourcee3
\ No newline at end of file diff --git a/tests/semantics/source/sourcee1 b/tests/semantics/source/sourcee1 new file mode 100644 index 0000000..683cd1f --- /dev/null +++ b/tests/semantics/source/sourcee1 @@ -0,0 +1 @@ +print sourcee1
\ No newline at end of file diff --git a/tests/semantics/source/sourcee2 b/tests/semantics/source/sourcee2 new file mode 100644 index 0000000..c989838 --- /dev/null +++ b/tests/semantics/source/sourcee2 @@ -0,0 +1 @@ +print sourcee2 diff --git a/tests/semantics/source/sourcer b/tests/semantics/source/sourcer new file mode 100644 index 0000000..eb1310e --- /dev/null +++ b/tests/semantics/source/sourcer @@ -0,0 +1,9 @@ +source +source sourcee1 +source sourcee1 ../source/sourcee2 +nested/: +{ + source sourcee3 + source ../sourcee1 +} +: diff --git a/tests/semantics/source/test.std b/tests/semantics/source/test.std new file mode 100644 index 0000000..84d94b7 --- /dev/null +++ b/tests/semantics/source/test.std @@ -0,0 +1,5 @@ +sourcee1 +sourcee1 +sourcee2 +nested/sourcee3 +sourcee1 |