mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 05:25:57 +08:00
Flip erl docs exclude and also check for odbc
This commit is contained in:
parent
49c52f67f7
commit
249f65d630
1 changed files with 3 additions and 2 deletions
|
@ -53,14 +53,15 @@ Livebook.HubHelpers.set_offline_hub()
|
||||||
# Compile anything pending on TeamsServer
|
# Compile anything pending on TeamsServer
|
||||||
Livebook.TeamsServer.setup()
|
Livebook.TeamsServer.setup()
|
||||||
|
|
||||||
erl_docs_available? = Code.fetch_docs(:gen_server) != {:error, :chunk_not_found}
|
erl_docs_missing? =
|
||||||
|
match?({:error, _}, Code.fetch_docs(:gen_server)) or match?({:error, _}, Code.fetch_docs(:odbc))
|
||||||
|
|
||||||
windows? = match?({:win32, _}, :os.type())
|
windows? = match?({:win32, _}, :os.type())
|
||||||
|
|
||||||
ExUnit.start(
|
ExUnit.start(
|
||||||
assert_receive_timeout: if(windows?, do: 2_500, else: 1_500),
|
assert_receive_timeout: if(windows?, do: 2_500, else: 1_500),
|
||||||
exclude: [
|
exclude: [
|
||||||
erl_docs: erl_docs_available?,
|
erl_docs: erl_docs_missing?,
|
||||||
unix: windows?,
|
unix: windows?,
|
||||||
teams_integration: not Livebook.TeamsServer.available?()
|
teams_integration: not Livebook.TeamsServer.available?()
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue