Skip to content

Commit

Permalink
work around WXMSW CI build problems
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Jan 4, 2024
1 parent c70a916 commit 51ef0da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ def test_global
assert_nil(Wx::ConfigBase.get(false))
end

# default registry based config does not seem to do well in CI build env
unless is_ci_build? && Wx::PLATFORM == 'WXMSW'

def test_default_wx
Wx::ConfigBase.set(nil) # reset global instance
cfg = Wx::ConfigBase.get # forced auto creation of default config
Expand All @@ -235,6 +238,8 @@ def test_default_wx
assert_true(cfg.clear) # cleanup
end

end

def test_html_help
cfg = Wx::ConfigBase.create(true, use_hash_config: true)

Expand Down

0 comments on commit 51ef0da

Please sign in to comment.