aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-21 14:53:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-21 14:53:49 +0200
commitf81ec08d6186271ebb33591ddf21590ff6a43dce (patch)
tree3cc3861971020df765cd6e1df1d23bf9d85e2829 /tests
parent6082d76936b8a65380eb7af03b4167d8f0298158 (diff)
Fix legacy stuff in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/amalgam/libtest/buildfile3
-rw-r--r--tests/amalgam/test/buildfile3
-rw-r--r--tests/cli/lib/libtest/build/root.build6
-rw-r--r--tests/cli/lib/test/build/root.build6
-rw-r--r--tests/dist/simple/buildfile3
-rw-r--r--tests/import/installed/buildfile3
-rw-r--r--tests/install/lib/libtest/build/root.build8
-rw-r--r--tests/install/simple/buildfile3
-rw-r--r--tests/postponed/buildfile2
-rw-r--r--tests/simple/buildfile3
-rw-r--r--tests/test/generated/buildfile3
-rw-r--r--tests/test/simple/buildfile7
-rw-r--r--tests/variable/representation/buildfile1
13 files changed, 12 insertions, 39 deletions
diff --git a/tests/amalgam/libtest/buildfile b/tests/amalgam/libtest/buildfile
index 04c44da..70a1467 100644
--- a/tests/amalgam/libtest/buildfile
+++ b/tests/amalgam/libtest/buildfile
@@ -1,6 +1,3 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
lib{test}: cxx{test}
diff --git a/tests/amalgam/test/buildfile b/tests/amalgam/test/buildfile
index 5440dbf..e8af169 100644
--- a/tests/amalgam/test/buildfile
+++ b/tests/amalgam/test/buildfile
@@ -1,8 +1,5 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
import libs = amalgam-libtest%lib{test}
exe{driver}: cxx{driver} $libs
diff --git a/tests/cli/lib/libtest/build/root.build b/tests/cli/lib/libtest/build/root.build
index f8d3d9e..c9ff67d 100644
--- a/tests/cli/lib/libtest/build/root.build
+++ b/tests/cli/lib/libtest/build/root.build
@@ -1,5 +1,5 @@
using cxx
-hxx.ext =
-ixx.ext = ipp
-cxx.ext = cpp
+hxx{*}: extension =
+ixx{*}: extension = ipp
+cxx{*}: extension = cpp
diff --git a/tests/cli/lib/test/build/root.build b/tests/cli/lib/test/build/root.build
index 2dda614..636fd02 100644
--- a/tests/cli/lib/test/build/root.build
+++ b/tests/cli/lib/test/build/root.build
@@ -1,7 +1,7 @@
using cxx
-hxx.ext = h
-ixx.ext = inl
-cxx.ext = C
+hxx{*}: extension = h
+ixx{*}: extension = inl
+cxx{*}: extension = C
using cli
diff --git a/tests/dist/simple/buildfile b/tests/dist/simple/buildfile
index 27f143d..159fff3 100644
--- a/tests/dist/simple/buildfile
+++ b/tests/dist/simple/buildfile
@@ -1,7 +1,4 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
exe{driver}: cxx{driver} doc{README} file{bootstrap}
exe{driver}: test.output = test.out
diff --git a/tests/import/installed/buildfile b/tests/import/installed/buildfile
index abdc151..be051b2 100644
--- a/tests/import/installed/buildfile
+++ b/tests/import/installed/buildfile
@@ -1,8 +1,5 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
import libs += lib{z}
#lib{driver}: cxx{driver} $libs
diff --git a/tests/install/lib/libtest/build/root.build b/tests/install/lib/libtest/build/root.build
index 59c1e37..20536a2 100644
--- a/tests/install/lib/libtest/build/root.build
+++ b/tests/install/lib/libtest/build/root.build
@@ -1,11 +1,11 @@
using cxx
-hxx.ext = hxx
-ixx.ext = ixx
-cxx.ext = cxx
+hxx{*}: extension = hxx
+ixx{*}: extension = ixx
+cxx{*}: extension = cxx
tests/:
{
- test.exe = true
+ exe{*}: test = true
install = false
}
diff --git a/tests/install/simple/buildfile b/tests/install/simple/buildfile
index 6fe2576..5fc53d4 100644
--- a/tests/install/simple/buildfile
+++ b/tests/install/simple/buildfile
@@ -1,7 +1,4 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
exe{driver}: cxx{driver} hxx{utility} doc{README}
exe{driver}: install = sbin
diff --git a/tests/postponed/buildfile b/tests/postponed/buildfile
index f08a020..53873aa 100644
--- a/tests/postponed/buildfile
+++ b/tests/postponed/buildfile
@@ -1,6 +1,4 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
exe{driver}: cxx{driver} fsdir{$out_root/out}
diff --git a/tests/simple/buildfile b/tests/simple/buildfile
index 986f391..ea1d8fa 100644
--- a/tests/simple/buildfile
+++ b/tests/simple/buildfile
@@ -1,6 +1,3 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
exe{driver}: cxx{driver}
diff --git a/tests/test/generated/buildfile b/tests/test/generated/buildfile
index ca06105..07a38d6 100644
--- a/tests/test/generated/buildfile
+++ b/tests/test/generated/buildfile
@@ -2,9 +2,6 @@
#
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
exe{utility}: cxx{utility}
exe{driver}: cxx{driver}
exe{driver}: test.input = exe{utility}
diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile
index 3b3598a..0162826 100644
--- a/tests/test/simple/buildfile
+++ b/tests/test/simple/buildfile
@@ -1,15 +1,12 @@
using cxx
-hxx.ext = hxx
-cxx.ext = cxx
-
lib{utility}: cxx{utility}
exe{driver}: cxx{driver} #lib{utility}
#exe{driver}: test.roundtrip = test.out
-test.exe = true
-test.exe.output = test.out
+exe{*}: test = true
+exe{*}: test.output = test.out
.: lib{utility} exe{driver}
#.: exe{driver}
diff --git a/tests/variable/representation/buildfile b/tests/variable/representation/buildfile
index 8410c96..9bb90d1 100644
--- a/tests/variable/representation/buildfile
+++ b/tests/variable/representation/buildfile
@@ -25,7 +25,6 @@ val += x%foo@y%bar
val += x%foo/@y%bar/
using cxx
-cxx.ext = cxx
exe{driver}: cxx{driver}
exe{driver}: test.output = test.out