aboutsummaryrefslogtreecommitdiff
path: root/tests/directive
diff options
context:
space:
mode:
Diffstat (limited to 'tests/directive')
-rw-r--r--tests/directive/assert.test2
-rw-r--r--tests/directive/buildfile4
-rw-r--r--tests/directive/common.test11
3 files changed, 2 insertions, 15 deletions
diff --git a/tests/directive/assert.test b/tests/directive/assert.test
index ca1b035..80e28ba 100644
--- a/tests/directive/assert.test
+++ b/tests/directive/assert.test
@@ -2,7 +2,7 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-.include common.test
+.include ../common.test
$* <'assert true' : true
$* <'assert! false foo' : not-false
diff --git a/tests/directive/buildfile b/tests/directive/buildfile
index e9e946e..583b149 100644
--- a/tests/directive/buildfile
+++ b/tests/directive/buildfile
@@ -2,6 +2,4 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: test{assert} file{common.test}
-
-test{*}: test = $effect($build.path)
+./: test{assert}
diff --git a/tests/directive/common.test b/tests/directive/common.test
deleted file mode 100644
index 351c133..0000000
--- a/tests/directive/common.test
+++ /dev/null
@@ -1,11 +0,0 @@
-# file : tests/directive/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