From a791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Feb 2017 00:58:53 +0300 Subject: Port test.sh to testscript --- tests/common/libhello-1.0.0/build/bootstrap.build | 22 ++++++++++++++++++++++ tests/common/libhello-1.0.0/build/export.build | 6 ++++++ tests/common/libhello-1.0.0/build/root.build | 6 ++++++ 3 files changed, 34 insertions(+) create mode 100644 tests/common/libhello-1.0.0/build/bootstrap.build create mode 100644 tests/common/libhello-1.0.0/build/export.build create mode 100644 tests/common/libhello-1.0.0/build/root.build (limited to 'tests/common/libhello-1.0.0/build') diff --git a/tests/common/libhello-1.0.0/build/bootstrap.build b/tests/common/libhello-1.0.0/build/bootstrap.build new file mode 100644 index 0000000..8d8db2b --- /dev/null +++ b/tests/common/libhello-1.0.0/build/bootstrap.build @@ -0,0 +1,22 @@ +project = libhello + +using build@0.4.0-a1 + +version = 1.0.0 + +abi_major = 1 +abi_minor = 0 +abi_patch = 0 +abi_prerelease = false + +revision = 0 + +dist.package = $project-$version + +if ($revision != 0) + dist.package += +$revision + +using config +using dist +using test +using install diff --git a/tests/common/libhello-1.0.0/build/export.build b/tests/common/libhello-1.0.0/build/export.build new file mode 100644 index 0000000..1eb73b7 --- /dev/null +++ b/tests/common/libhello-1.0.0/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include hello/ +} + +export $out_root/hello/lib{hello} diff --git a/tests/common/libhello-1.0.0/build/root.build b/tests/common/libhello-1.0.0/build/root.build new file mode 100644 index 0000000..4f70114 --- /dev/null +++ b/tests/common/libhello-1.0.0/build/root.build @@ -0,0 +1,6 @@ +cxx.std = 11 + +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx -- cgit v1.1