diff options
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 +} |