No tests defined for the extension
I wrote an XS wrapper around some C code and package it as a CPAN module, call it "Foo". The original C source is in src/
and after perlxstut that the directory has its own Makefile.PL.
The result of "make test" now looks like this: "No tests defined for the Foo extension" warning that I would like to get rid of:
All tests successful.
Files=1, Tests=28, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.05 CPU)
Result: PASS
make[1]: Entering directory `/path/to/Foo/src'
No tests defined for Foo extension.
make[1]: Leaving directory `/path/to/Foo/src'
The bits in the generated Makefile that run look like this:
subdirs-test :: $(NOECHO) $(NOOP) subdirs-test :: $(NOECHO) cd src && $(MAKE) test $(PASTHRU)
But I cannot find that I am creating a second one, or how to stop it.
What am I missing?
+3
source to share
No one has answered this question yet
Check out similar questions: