
* Add EQC profile Don't run EQC tests, unless specifically requested e.g. `./rebar3 as eqc eunit --module=leveled_eqc` * Remove eqc_cover parse_transform Causes a compilation issue with the assertException in leveled_runner * Allow EQC test to compile EQC only works on OTP 22 for now, but other tests should still work on OTP 22 and OTP 24 * Add more complex statem based eqc test * Add check for eqc profile
34 lines
1 KiB
Erlang
34 lines
1 KiB
Erlang
{erl_opts, [warnings_as_errors,
|
|
{platform_define, "^2[0-4]{1}", fsm_deprecated},
|
|
{platform_define, "^1[7-8]{1}", old_rand},
|
|
{platform_define, "^17", no_log2},
|
|
{platform_define, "^R", no_sync},
|
|
{platform_define, "^R", old_rand},
|
|
{platform_define, "^R", no_log2},
|
|
{platform_define, "^R", slow_test}]}.
|
|
|
|
{xref_checks, [undefined_function_calls,undefined_functions]}.
|
|
|
|
{cover_excl_mods,
|
|
[testutil,
|
|
appdefined_SUITE, basic_SUITE, iterator_SUITE,
|
|
perf_SUITE, recovery_SUITE, riak_SUITE, tictac_SUITE]}.
|
|
|
|
{eunit_opts, [verbose]}.
|
|
|
|
{profiles,
|
|
[{eqc, [{deps, [meck, fqc]},
|
|
{erl_opts, [debug_info, {d, 'EQC'}]},
|
|
{extra_src_dirs, ["test/property"]},
|
|
{shell, [{apps, [lz4]}]},
|
|
{plugins, [rebar_eqc]}
|
|
]},
|
|
{test, [{extra_src_dirs, ["test/end_to_end", "test/property"]}
|
|
]}
|
|
]}.
|
|
|
|
{deps, [
|
|
{lz4, ".*", {git, "https://github.com/martinsumner/erlang-lz4", {tag, "0.2.5"}}}
|
|
]}.
|
|
|
|
{ct_opts, [{dir, ["test/end_to_end"]}]}.
|