diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 13:08:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 13:08:19 +0200 |
commit | f1aada8cc6419c3c9934fa880c8f6e5c59e23385 (patch) | |
tree | c38f275a43b0e73d9e96946fb47c4300b2eb4c2f /tests | |
parent | 5537c333656c193e352d9606d4cd1e5c52bbe94a (diff) |
Windowsos-release
Diffstat (limited to 'tests')
-rw-r--r-- | tests/host-os-release/driver.cxx | 2 | ||||
-rw-r--r-- | tests/host-os-release/testscript | 17 |
2 files changed, 17 insertions, 2 deletions
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 <libbutl/host-os-release.hxx> 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 +} |