How to create run_tests from run_tests.in

Hi!

I am creating a signal processing block for gnuradio (svn), but I can
not figure out how to generate run_tests from run_tests.in. The m4
macro file and Makefile.am from the python folder are included in this
mail:


[~/src/gnuradio/gr-gnss/src/python] cat Makefile.am
include $(top_srcdir)/Makefile.common
EXTRA_DIST = run_tests.in
TESTS = run_tests
noinst_PYTHON = qa_gr_gnss_ca_source.py


[~/src/gnuradio/config] cat grc_gr_gnss.m4
AC_DEFUN([GRC_GR_GNSS],[
GRC_ENABLE([gr-gnss])

AC_CONFIG_FILES([\
    gr-gnss/Makefile \
    gr-gnss/src/Makefile \
    gr-gnss/src/lib/Makefile \
    gr-gnss/src/python/Makefile \
])

passed=yes
GRC_BUILD_CONDITIONAL([gr-gnss],[
    dnl run_tests is created from run_tests.in.  Make it executable.
    AC_CONFIG_COMMANDS([run_tests_gnss], [chmod +x

gr-gnss/src/python/run_tests])
])
])


Trond D.

Trond D. wrote:

I am creating a signal processing block for gnuradio (svn), but I can
not figure out how to generate run_tests from run_tests.in. The m4
macro file and Makefile.am from the python folder are included in this
mail:

The files shown look ok. You need to have your own run_tests.in,
however. You can copy one from another component and edit the path
changes near the bottom.

Or am I misunderstanding?


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com

2007/1/29, Johnathan C. [email protected]:

Or am I misunderstanding?

Ah, I should have mentioned that run_tests.in exists in src/python.


Trond D.

On Mon, Jan 29, 2007 at 08:01:27PM +0100, Trond D. wrote:

changes near the bottom.

Or am I misunderstanding?

Ah, I should have mentioned that run_tests.in exists in src/python.

Did you insert your GRC_FOO into configure.ac?

Eric

2007/1/29, Eric B. [email protected]:

Did you insert your GRC_FOO into configure.ac?

Yes, I did. The Makefiles gets created, so “make” works just fine, but
“make check” does not work (obviously, because run_tests is missing).


Trond D.

On Mon, Jan 29, 2007 at 03:43:46PM +0100, Trond D. wrote:

EXTRA_DIST = run_tests.in
AC_CONFIG_FILES([
gr-gnss/Makefile
gr-gnss/src/Makefile
gr-gnss/src/lib/Makefile
gr-gnss/src/python/Makefile \

You’re missing

     gr-gnss/src/python/run_tests here!

2007/1/29, Eric B. [email protected]:

You’re missing

     gr-gnss/src/python/run_tests here!

Ah! Thanks, wonder how I missed that one…


Trond D.

Eric B. wrote:

You’re missing

     gr-gnss/src/python/run_tests here!

Trond–sorry I missed this earlier and sent you looking elsewhere.

-Johnathan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs