Closed jpcenteno closed 4 years ago
Make $EXERCISE
I'm trying to run the tests as instructed in the README.md files, but I'm getting this error related to Common Test Hooks:
README.md
bash-3.2$ pwd /Users/lambda/code/erlings bash-3.2$ make sequential/filter_numbers cd sequential/filter_numbers && ../../rebar3 as test ct ===> Verifying dependencies... ===> Compiling filter_numbers ===> Running Common Test suites... %%% filter_numbers_SUITE: %%% filter_numbers_SUITE ==> run_eunit: FAILED %%% filter_numbers_SUITE ==> {fail,"cth_readable_failonly:on_tc_fail/3 CTH call failed"} %%% undefined ==> end_per_suite: FAILED %%% undefined ==> {fail,"cth_readable_failonly:on_tc_fail/3 CTH call failed"} Failed 1 tests. Passed 0 tests. Results written to "/Users/lambda/code/erlings/sequential/filter_numbers/_build/test/logs/index.html". ===> Failures occurred running tests: 1 make: *** [sequential/filter_numbers] Error 1
I was able to run eunit from the exercises subdirectories with no problem:
eunit
joaquin-lambda:filter_numbers lambda$ pwd /Users/lambda/code/erlings/sequential/filter_numbers joaquin-lambda:filter_numbers lambda$ rebar3 eunit ===> Verifying dependencies... ===> Compiling filter_numbers ===> Performing EUnit tests... ... Finished in 0.047 seconds 3 tests, 0 failures
As @juanbono pointed out, this is related to https://github.com/erlang/rebar3/issues/2063
Things I tried:
rebar3
ct
Make $EXERCISE
fails due to problem related to Common TestI'm trying to run the tests as instructed in the
README.md
files, but I'm getting this error related to Common Test Hooks:I was able to run
eunit
from the exercises subdirectories with no problem:As @juanbono pointed out, this is related to https://github.com/erlang/rebar3/issues/2063
Things I tried:
eunit
from therebar3
binary that came with the repo.ct
with therebar3
binary thar came with the repo.ct
using my installed version ofrebar3