From 29976b14e1e27c93d331582f2dba92c780b28eac Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 20 Feb 2026 12:43:12 +0900 Subject: [PATCH] Skip tests on non-Windows platform --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index ec69264..b35d6aa 100644 --- a/Rakefile +++ b/Rakefile @@ -16,4 +16,6 @@ Rake::TestTask.new(:test) do |t| end task :default => :test -task :test => :compile +if /mswin|mingw|cygwin/ =~ RbConfig::CONFIG['host_os'] + task :test => :compile +end