aboutsummaryrefslogtreecommitdiff
path: root/tests/eval
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-03 16:37:32 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-04 16:29:59 +0300
commit5007870b52aa549971824959a55ad3bb886f09e0 (patch)
treeb0ef7f24c0b9ece2ed23f3c1792f16da324e4171 /tests/eval
parent09d60452a80d14d9b8bf3a9395860b50683fa1e8 (diff)
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/eval')
-rw-r--r--tests/eval/buildfile2
-rw-r--r--tests/eval/comma.testscript (renamed from tests/eval/comma.test)4
-rw-r--r--tests/eval/comp.testscript (renamed from tests/eval/comp.test)4
-rw-r--r--tests/eval/or-and.testscript (renamed from tests/eval/or-and.test)4
-rw-r--r--tests/eval/qual.testscript (renamed from tests/eval/qual.test)4
-rw-r--r--tests/eval/ternary.testscript (renamed from tests/eval/ternary.test)4
-rw-r--r--tests/eval/value.testscript (renamed from tests/eval/value.test)4
7 files changed, 13 insertions, 13 deletions
diff --git a/tests/eval/buildfile b/tests/eval/buildfile
index 8fa0064..f7fa2d5 100644
--- a/tests/eval/buildfile
+++ b/tests/eval/buildfile
@@ -2,4 +2,4 @@
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: test{*} $b
+./: testscript{*} $b
diff --git a/tests/eval/comma.test b/tests/eval/comma.testscript
index 1a36dd1..bb748d1 100644
--- a/tests/eval/comma.test
+++ b/tests/eval/comma.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/comma.test
+# file : tests/eval/comma.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test value packs (eval-comma).
-.include ../common.test
+.include ../common.testscript
: comma
:
diff --git a/tests/eval/comp.test b/tests/eval/comp.testscript
index c1a4cf7..481c50b 100644
--- a/tests/eval/comp.test
+++ b/tests/eval/comp.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/comp.test
+# file : tests/eval/comp.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test comparison operators (eval-comp).
-.include ../common.test
+.include ../common.testscript
$* <'print (foo == bar)' >'false' : eq-false
$* <'print (foo == foo)' >'true' : eq-true
diff --git a/tests/eval/or-and.test b/tests/eval/or-and.testscript
index 796f92a..7796f74 100644
--- a/tests/eval/or-and.test
+++ b/tests/eval/or-and.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/or-and.test
+# file : tests/eval/or-and.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test logical operators (eval-or, eval-and).
-.include ../common.test
+.include ../common.testscript
$* <'print (false || false)' >'false' : or-false
$* <'print (false || true)' >'true' : or-true-1
diff --git a/tests/eval/qual.test b/tests/eval/qual.testscript
index babd956..e7bf472 100644
--- a/tests/eval/qual.test
+++ b/tests/eval/qual.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/qual.test
+# file : tests/eval/qual.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test qualified name (eval-qual).
-.include ../common.test
+.include ../common.testscript
$* <'print (file{foo}: bar)' >'file{foo}:bar' : target
$* <'print (foo/dir{}: bar)' >'dir{foo/}:bar' : scope
diff --git a/tests/eval/ternary.test b/tests/eval/ternary.testscript
index a220110..fc405e5 100644
--- a/tests/eval/ternary.test
+++ b/tests/eval/ternary.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/ternary.test
+# file : tests/eval/ternary.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test the ternary operator (eval-ternary).
-.include ../common.test
+.include ../common.testscript
$* <'print (true ? foo : bar)' >'foo' : true
$* <'print (false ? foo : bar)' >'bar' : false
diff --git a/tests/eval/value.test b/tests/eval/value.testscript
index a3e1d4c..7cae6e2 100644
--- a/tests/eval/value.test
+++ b/tests/eval/value.testscript
@@ -1,10 +1,10 @@
-# file : tests/eval/value.test
+# file : tests/eval/value.testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test value part of the grammar (eval-value).
-.include ../common.test
+.include ../common.testscript
$* <'print (foo)' >'foo' : value
$* <'print ()' >'' : value-empty