Opened 15 years ago

Closed 14 years ago

#24887 closed defect (invalid)

erlang: common_test not built?

Reported by: macports@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: erlang

Description (last modified by ryandesign (Ryan Carsten Schmidt))

hi. i tried to run the test suite of scalaris (http://scalaris.googlecode.com/svn/trunk) but that failed with the following error message:

$ make test
/opt/local/lib/erlang/lib/common_test-1.4.7/priv/bin/run_test   -pa `pwd`/ebin `pwd`/contrib/yaws/ebin `pwd`/contrib/log4erl/ebin -spec test/scalaris.runtests-skip_benchmark.cfg | tee ct.log ; \
	grep " 0 failed" ct.log
/bin/sh: /opt/local/lib/erlang/lib/common_test-1.4.7/priv/bin/run_test: No such file or directory
make: *** [test] Error 1

a quick check revealed that the run_test scripts has not been built:

$ ls /opt/local/lib/erlang/lib/common_test-1.4.7/priv/
run_test.in	vts.tool

no bin/run_test

Change History (2)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: erlang removed
Milestone: MacPorts 1.9.0
Owner: changed from macports-tickets@… to bfulgham@…
Summary: common_test not built?erlang: common_test not built?

Please remember to preview and use WikiFormatting, to Cc the port maintainer, and to not fill in the Milestone field for port tickets.

comment:2 Changed 14 years ago by bfulgham@…

Resolution: invalid
Status: newclosed

I'm not sure why that particular program is peeking into the erlang private directories. The "ct_run" binary is linked into ${prefix}/bin as "run_test" during a normal Erlang install.

I think the culprit here is scalaris (perhaps it assumes an older Erlang revision)?

Note: See TracTickets for help on using tickets.