From 0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2016 12:07:18 +0200 Subject: Move old tests to old-tests/ --- old-tests/amalgam/config/build/bootstrap.build | 3 +++ old-tests/amalgam/config/build/root.build | 1 + old-tests/amalgam/config/buildfile | 3 +++ old-tests/amalgam/libtest/build/bootstrap.build | 2 ++ old-tests/amalgam/libtest/build/export.build | 6 ++++++ old-tests/amalgam/libtest/buildfile | 3 +++ old-tests/amalgam/libtest/test.cxx | 4 ++++ old-tests/amalgam/test/build/bootstrap.build | 2 ++ old-tests/amalgam/test/buildfile | 5 +++++ old-tests/amalgam/test/driver.cxx | 4 ++++ old-tests/amalgam/unnamed/build/bootstrap.build | 3 +++ old-tests/amalgam/unnamed/buildfile | 3 +++ old-tests/amalgam/unnamed/sub/build/bootstrap.build | 2 ++ old-tests/amalgam/unnamed/sub/buildfile | 2 ++ old-tests/amalgam/unnamed/test.out | 2 ++ old-tests/amalgam/unnamed/test.sh | 3 +++ 16 files changed, 48 insertions(+) create mode 100644 old-tests/amalgam/config/build/bootstrap.build create mode 100644 old-tests/amalgam/config/build/root.build create mode 100644 old-tests/amalgam/config/buildfile create mode 100644 old-tests/amalgam/libtest/build/bootstrap.build create mode 100644 old-tests/amalgam/libtest/build/export.build create mode 100644 old-tests/amalgam/libtest/buildfile create mode 100644 old-tests/amalgam/libtest/test.cxx create mode 100644 old-tests/amalgam/test/build/bootstrap.build create mode 100644 old-tests/amalgam/test/buildfile create mode 100644 old-tests/amalgam/test/driver.cxx create mode 100644 old-tests/amalgam/unnamed/build/bootstrap.build create mode 100644 old-tests/amalgam/unnamed/buildfile create mode 100644 old-tests/amalgam/unnamed/sub/build/bootstrap.build create mode 100644 old-tests/amalgam/unnamed/sub/buildfile create mode 100644 old-tests/amalgam/unnamed/test.out create mode 100755 old-tests/amalgam/unnamed/test.sh (limited to 'old-tests/amalgam') diff --git a/old-tests/amalgam/config/build/bootstrap.build b/old-tests/amalgam/config/build/bootstrap.build new file mode 100644 index 0000000..52d415a --- /dev/null +++ b/old-tests/amalgam/config/build/bootstrap.build @@ -0,0 +1,3 @@ +project = amalgam-config +amalgamation = # Shall not be amalgamated. +using config diff --git a/old-tests/amalgam/config/build/root.build b/old-tests/amalgam/config/build/root.build new file mode 100644 index 0000000..7d1767b --- /dev/null +++ b/old-tests/amalgam/config/build/root.build @@ -0,0 +1 @@ +using cxx diff --git a/old-tests/amalgam/config/buildfile b/old-tests/amalgam/config/buildfile new file mode 100644 index 0000000..32285a9 --- /dev/null +++ b/old-tests/amalgam/config/buildfile @@ -0,0 +1,3 @@ +d = #t/ l/ +./: $d +include $d diff --git a/old-tests/amalgam/libtest/build/bootstrap.build b/old-tests/amalgam/libtest/build/bootstrap.build new file mode 100644 index 0000000..025e510 --- /dev/null +++ b/old-tests/amalgam/libtest/build/bootstrap.build @@ -0,0 +1,2 @@ +project = amalgam-libtest +using config diff --git a/old-tests/amalgam/libtest/build/export.build b/old-tests/amalgam/libtest/build/export.build new file mode 100644 index 0000000..b95e409 --- /dev/null +++ b/old-tests/amalgam/libtest/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include buildfile +} + +export $out_root/lib{test} diff --git a/old-tests/amalgam/libtest/buildfile b/old-tests/amalgam/libtest/buildfile new file mode 100644 index 0000000..70a1467 --- /dev/null +++ b/old-tests/amalgam/libtest/buildfile @@ -0,0 +1,3 @@ +using cxx + +lib{test}: cxx{test} diff --git a/old-tests/amalgam/libtest/test.cxx b/old-tests/amalgam/libtest/test.cxx new file mode 100644 index 0000000..34a033a --- /dev/null +++ b/old-tests/amalgam/libtest/test.cxx @@ -0,0 +1,4 @@ +void +f () +{ +} diff --git a/old-tests/amalgam/test/build/bootstrap.build b/old-tests/amalgam/test/build/bootstrap.build new file mode 100644 index 0000000..a53e738 --- /dev/null +++ b/old-tests/amalgam/test/build/bootstrap.build @@ -0,0 +1,2 @@ +project = amalgam-test +using config diff --git a/old-tests/amalgam/test/buildfile b/old-tests/amalgam/test/buildfile new file mode 100644 index 0000000..e8af169 --- /dev/null +++ b/old-tests/amalgam/test/buildfile @@ -0,0 +1,5 @@ +using cxx + +import libs = amalgam-libtest%lib{test} + +exe{driver}: cxx{driver} $libs diff --git a/old-tests/amalgam/test/driver.cxx b/old-tests/amalgam/test/driver.cxx new file mode 100644 index 0000000..70b4146 --- /dev/null +++ b/old-tests/amalgam/test/driver.cxx @@ -0,0 +1,4 @@ +int +main () +{ +} diff --git a/old-tests/amalgam/unnamed/build/bootstrap.build b/old-tests/amalgam/unnamed/build/bootstrap.build new file mode 100644 index 0000000..30065f4 --- /dev/null +++ b/old-tests/amalgam/unnamed/build/bootstrap.build @@ -0,0 +1,3 @@ +project = amalgam-unnamed +amalgamation = # Disabled. +using config diff --git a/old-tests/amalgam/unnamed/buildfile b/old-tests/amalgam/unnamed/buildfile new file mode 100644 index 0000000..ead9514 --- /dev/null +++ b/old-tests/amalgam/unnamed/buildfile @@ -0,0 +1,3 @@ +./: sub/ +include sub/ +print $subprojects diff --git a/old-tests/amalgam/unnamed/sub/build/bootstrap.build b/old-tests/amalgam/unnamed/sub/build/bootstrap.build new file mode 100644 index 0000000..ce3735a --- /dev/null +++ b/old-tests/amalgam/unnamed/sub/build/bootstrap.build @@ -0,0 +1,2 @@ +project = +using config diff --git a/old-tests/amalgam/unnamed/sub/buildfile b/old-tests/amalgam/unnamed/sub/buildfile new file mode 100644 index 0000000..8717375 --- /dev/null +++ b/old-tests/amalgam/unnamed/sub/buildfile @@ -0,0 +1,2 @@ +./: +print "'$project'" diff --git a/old-tests/amalgam/unnamed/test.out b/old-tests/amalgam/unnamed/test.out new file mode 100644 index 0000000..023b71f --- /dev/null +++ b/old-tests/amalgam/unnamed/test.out @@ -0,0 +1,2 @@ +'' +sub/@sub/ diff --git a/old-tests/amalgam/unnamed/test.sh b/old-tests/amalgam/unnamed/test.sh new file mode 100755 index 0000000..c745b76 --- /dev/null +++ b/old-tests/amalgam/unnamed/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +b -q | diff --strip-trailing-cr -u test.out - -- cgit v1.1