Re: running tests under in a tests/ directory

2009-06-09 Thread aaragon
I'm actually building the tests inside a test directory: $(top_srcdir)/tests, and the library I'm trying to link to is under $(top_srcdir)/yafeq. So if I remove the $(top_srcdir) then it doesn't work anymore. So the only way I made it work so far is using LDADD = $(top_srcdir)/yafeq/libyafeq.la

Re: running tests under in a tests/ directory

2009-06-09 Thread aaragon
4:25PM CEST: >> On Tue, 9 Jun 2009, aaragon wrote: >>> >>> AM_LDFLAGS = -L$(top_srcdir)/yafeq -lyafeq >>> >>> and this works fine. Is this the right way to do this? >> >> Any in-tree library dependencies should be specified via LIBADD rather >

Re: running tests under in a tests/ directory

2009-06-09 Thread aaragon
this works fine. Is this the right way to do this? Thanks once again, Alejandro Ralf Wildenhues wrote: > > * aaragon wrote on Fri, Jun 05, 2009 at 09:05:18PM CEST: >> When deliberately making the tests fail, I still get: >> >> aara...@~/Documents/workspace/cpputils$make

Re: running tests under in a tests/ directory

2009-06-09 Thread aaragon
LIBS += -lyafeq but this doesn't work, it seems that it enters an infinite loop when linking. How do you solve this? Alejandro Ralf Wildenhues wrote: > > * aaragon wrote on Fri, Jun 05, 2009 at 09:05:18PM CEST: >> When deliberately making the tests fail, I still get: >> >

Re: running tests under in a tests/ directory

2009-06-05 Thread aaragon
Hi Ralf, Ralf Wildenhues wrote: > > * aaragon wrote on Wed, Jun 03, 2009 at 09:22:59PM CEST: >> Ralf Wildenhues wrote: >> > * aaragon wrote on Sat, May 30, 2009 at 07:34:13PM CEST: >> >> check:all >> >> @echo "Running tests"

Re: failed to create dist targets

2009-06-05 Thread aaragon
Thanks! problem was that I had double quoting in AC_INIT. aa Ralf Wildenhues wrote: > > * aaragon wrote on Thu, Jun 04, 2009 at 10:11:22PM CEST: >> >> So I got all my code up and running and now I want to make a file so I >> can >> use my library in another com

failed to create dist targets

2009-06-04 Thread aaragon
Hi everyone, So I got all my code up and running and now I want to make a file so I can use my library in another computer. Now, when I try to make dist-zip, I get: aara...@~/Documents/workspace/cpputils$make dist-all { test ! -d "-cpputils--0.001" || { find "-cpputils--0.001" -type d ! -perm -2

Re: running tests under in a tests/ directory

2009-06-03 Thread aaragon
Hi Ralph, thanks again for replying. Ralf Wildenhues wrote: > > Hello Alejandro, > > * aaragon wrote on Sat, May 30, 2009 at 07:34:13PM CEST: >> >> Thank yo Ralf for replying to my post. The code that I showed in my post >> was >> indeed taken from that

Re: running tests under in a tests/ directory

2009-05-30 Thread aaragon
aara...@~/Documents/workspace/cpputils/tests$make generate-verified-files cd .. && /bin/sh /Users/aaragon/Documents/workspace/cpputils/config/missing --run automake-1.11 --gnu tests/Makefile cd .. && /bin/sh ./config.status tests/Makefile depfiles config.status: creating tests

running tests under in a tests/ directory

2009-05-29 Thread aaragon
Hi everyone, I found a Makefile.am file on the internet to run tests under a tests folder. The code looks like follows: In the rootdir/Makefile.am include m4/aminclude.am ACLOCAL_AMFLAGS = -I m4 SUBDIRS = yafeq tests MOSTLYCLEANFILES = $(DX_CLEANFILES) EXTRA_DIST=autogen.sh $(DX_CONFIG) # te