From b3633d94b0ec44575c7bbc0a741bf0e388beba72 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 29 Oct 2019 18:39:34 +0300 Subject: Add support for environment task manifest value --- tests/buildtab/driver.cxx | 3 +++ tests/buildtab/testscript | 15 +++++++++++++++ 2 files changed, 18 insertions(+) (limited to 'tests/buildtab') diff --git a/tests/buildtab/driver.cxx b/tests/buildtab/driver.cxx index c5fd24e..c7d7a1d 100644 --- a/tests/buildtab/driver.cxx +++ b/tests/buildtab/driver.cxx @@ -32,6 +32,9 @@ try { cout << c.machine_pattern << ' ' << c.name << ' ' << c.target; + if (c.environment) + cout << '/' << *c.environment; + string classes; for (const string& cls: c.classes) { diff --git a/tests/buildtab/testscript b/tests/buildtab/testscript index 0572335..e2bd2bc 100644 --- a/tests/buildtab/testscript +++ b/tests/buildtab/testscript @@ -19,6 +19,8 @@ linux_debian_9*-gcc_7.3 linux_debian_9-gcc_7.3 x86_64-linux-gnu "all default linux gcc gcc-7+:gcc-6+" linux_debian_9*-gcc_7.3 linux_debian_9-gcc_7.3-O3 x86_64-linux-gnu "all default linux gcc optimized gcc-7+" config.cc.coptions=-O3 linux_debian_9*-gcc_8.1 linux_debian_9-gcc_8.1 x86_64-linux-gnu "all default linux gcc gcc-8+:gcc-7+" + + windows_10*-clang_9.0_msvc_16.3 windows_10-clang_9.0_msvc_16.3_lld x86_64-microsoft-win32-msvc14.2/lld "all default windows clang" EOI windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0 all windows*-vc_14* windows-vc_14-32-debug i686-microsoft-win32-msvc14.0 "" config.cc.coptions=/Z7 config.cc.loptions=/DEBUG ~"warning C4\d{3}: " @@ -26,6 +28,7 @@ linux_debian_9*-gcc_7.3 linux_debian_9-gcc_7.3 x86_64-linux-gnu "all default linux gcc gcc-7+:gcc-6+" linux_debian_9*-gcc_7.3 linux_debian_9-gcc_7.3-O3 x86_64-linux-gnu "all default linux gcc optimized gcc-7+:gcc-6+" config.cc.coptions=-O3 linux_debian_9*-gcc_8.1 linux_debian_9-gcc_8.1 x86_64-linux-gnu "all default linux gcc gcc-8+:gcc-7+" + windows_10*-clang_9.0_msvc_16.3 windows_10-clang_9.0_msvc_16.3_lld x86_64-microsoft-win32-msvc14.2/lld "all default windows clang" EOO : empty-lines @@ -81,6 +84,18 @@ EOE } + : environment + : + { + : empty + : + $* <>EOE == 1 + windows*-vc_14* windows-vc_14-32 i686-microsoft-win32-msvc14.0/ + EOI + cin:1:34: error: empty environment + EOE + } + : class : { -- cgit v1.1