Skip to content

Commit

Permalink
qf-proper: reactivate PropEr tests but kz_token_buckekts_pqc (#2739)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp authored and jamesaimonetti committed Oct 26, 2016
1 parent 3adcffd commit 7a3b0c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -29,10 +29,11 @@ before_install:
- cd $TRAVIS_BUILD_DIR

script:
- make compile-test
- make eunit
- # ERL_LIBS="$HOME/proper" ERLC_OPTS='-DPROPER' make compile-test
- # ERL_LIBS="$HOME/proper" make eunit
- # make compile-test
- # make eunit
- make deps
- ERL_LIBS="$HOME/proper" ERLC_OPTS='-DPROPER' make compile-test
- ERL_LIBS="$HOME/proper" make eunit

after_success:
- if [[ "$TRAVIS_REPO_SLUG" == '2600hz/kazoo' ]]; then make coverage-report; fi
5 changes: 5 additions & 0 deletions core/kazoo_token_buckets/test/kz_token_bucket_pqc.erl
Expand Up @@ -19,6 +19,9 @@
%%%-------------------------------------------------------------------
-module(kz_token_bucket_pqc).

-define(DO_NOT_RUN_QC_TOKEN_BUCKETS, true).
-ifndef(DO_NOT_RUN_QC_TOKEN_BUCKETS).

%% -include_lib("kazoo_token_buckets/src/kz_buckets.hrl").

-ifdef(PROPER).
Expand Down Expand Up @@ -286,3 +289,5 @@ tokens_credit(Credit, #state{current=T
end.

-endif.

-endif.

0 comments on commit 7a3b0c6

Please sign in to comment.