aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-01 13:19:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-01 13:19:49 +0200
commit08eea971d2d3170ca357935644483dc520f46173 (patch)
tree871df5e71e364d4620db74298b7f88f9466d1473 /tests/expansion
parent0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d (diff)
Organize tests/, factor common testscript fragments
Diffstat (limited to 'tests/expansion')
-rw-r--r--tests/expansion/buildfile4
-rw-r--r--tests/expansion/common.test11
-rw-r--r--tests/expansion/type.test2
3 files changed, 2 insertions, 15 deletions
diff --git a/tests/expansion/buildfile b/tests/expansion/buildfile
index 81df59e..2f02852 100644
--- a/tests/expansion/buildfile
+++ b/tests/expansion/buildfile
@@ -2,6 +2,4 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: test{type} file{common.test}
-
-test{*}: test = $effect($build.path)
+./: test{type}
diff --git a/tests/expansion/common.test b/tests/expansion/common.test
deleted file mode 100644
index 881c74e..0000000
--- a/tests/expansion/common.test
+++ /dev/null
@@ -1,11 +0,0 @@
-# file : tests/expansion/assert.test
-# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
-# license : MIT; see accompanying LICENSE file
-
-+mkdir build
-+cat <<EOI >>>build/bootstrap.build
-project = test
-amalgamation =
-EOI
-
-test.options += -q --buildfile - noop
diff --git a/tests/expansion/type.test b/tests/expansion/type.test
index 27c646d..7ac6524 100644
--- a/tests/expansion/type.test
+++ b/tests/expansion/type.test
@@ -4,7 +4,7 @@
# Test type propagation during expansion.
-.include common.test
+.include ../common.test
: var
: