diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-04-09 14:13:26 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-04-09 14:13:26 +0900 |
| commit | 4b6a467a4a8998dcd50a54f610ccbaebdae279c1 (patch) | |
| tree | 9a38b0cc298b56ced72778da0cb86e84ad70ea26 | |
| parent | 4644e4f2fafe45e2c49f18bc9712d0f5fff3d341 (diff) | |
mkmf: skip if C++ compiler not found
| -rw-r--r-- | test/mkmf/test_egrep_cpp.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mkmf/test_egrep_cpp.rb b/test/mkmf/test_egrep_cpp.rb index 2d10140368..1126324965 100644 --- a/test/mkmf/test_egrep_cpp.rb +++ b/test/mkmf/test_egrep_cpp.rb @@ -20,6 +20,8 @@ class TestMkmfEgrepCpp < TestMkmf #error not C++ #endif SRC + rescue Errno::ENOENT + omit "C++ compiler not available: #{$!.message}" end end end |
