Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Skip couchdb_os_daemons_tests on Windows #184

Merged
merged 1 commit into from Jul 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -7,6 +7,8 @@ priv/couchjs
priv/couchspawnkillable
priv/*.exp
priv/*.lib
priv/*.dll
priv/*.exe
vc120.pdb

.rebar/
Expand Down
1 change: 1 addition & 0 deletions rebar.config
@@ -0,0 +1 @@
{eunit_compile_opts, [{platform_define, "win32", 'WINDOWS'}]}.
6 changes: 6 additions & 0 deletions test/couchdb_os_daemons_tests.erl
Expand Up @@ -12,6 +12,12 @@

-module(couchdb_os_daemons_tests).

%% tests are UNIX-specific, will not function under Windows
-ifdef(WINDOWS).
-undef(TEST).
-define(NOTEST, 1).
-endif.

-include_lib("couch/include/couch_eunit.hrl").

%% keep in sync with couchdb/couch_os_daemons.erl
Expand Down