From f1aada8cc6419c3c9934fa880c8f6e5c59e23385 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Mar 2023 13:08:19 +0200 Subject: Windows --- tests/host-os-release/driver.cxx | 2 +- tests/host-os-release/testscript | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'tests/host-os-release') diff --git a/tests/host-os-release/driver.cxx b/tests/host-os-release/driver.cxx index 3b40634..249cbff 100644 --- a/tests/host-os-release/driver.cxx +++ b/tests/host-os-release/driver.cxx @@ -1,4 +1,4 @@ -// file : host-os-release/driver.cxx -*- C++ -*- +// file : tests/host-os-release/driver.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #include diff --git a/tests/host-os-release/testscript b/tests/host-os-release/testscript index c340da3..a18aa74 100644 --- a/tests/host-os-release/testscript +++ b/tests/host-os-release/testscript @@ -1,4 +1,4 @@ -# file : bpkg/host-os-release.test.testscript +# file : tests/host-os-release/testscript # license : MIT; see accompanying LICENSE file : linux @@ -206,3 +206,18 @@ if ($build.host.system == 'freebsd') EOO } + +: windows +: +if ($build.host.system == 'windows') +{ + $* $build.host >>~/EOO/ + windows + + /[0-9]+(\.[0-9]+)?/ + + Windows + + + EOO +} -- cgit v1.1