RE: Trouble creating a check program in automake

2015-03-12 Thread Arthur Schwarz
My modified src/Makefile.am is: # Testing SLIP testdir= ./test check_PROGRAMS = test test_SOURCES = $(testCPP) $(testHead) test_LDADD = libslip.a TESTS = $(check_PROGRAMS) CLEANFILES = $(testdir) I have found that if $(testHead) is not incl

RE: Trouble creating a check program in automake

2015-03-11 Thread Arthur Schwarz
-Original Message- > I'm trying to learn automake (Autotools by John Calcotte) and am stumped on > creating a check program to test my C++ library. A partial listing of the > program is given below. The example in the text shows creation of a test > program using a shell script testing

RE: Trouble creating a check program in automake

2015-03-08 Thread Arthur Schwarz
Looks like I've got the automake to make. Thanks art -Original Message- From: Bob Friesenhahn [mailto:bfrie...@simple.dallas.tx.us] Sent: Saturday, March 07, 2015 5:42 PM To: Arthur Schwarz Cc: automake@gnu.org Subject: Re: Trouble creating a check program in automake On Sat,

Re: Trouble creating a check program in automake

2015-03-07 Thread Tyler Retzlaff
Hi Arthur, On 3/7/2015 5:07 PM, Arthur Schwarz wrote: # Test Program: Errors flagged here check_PROGRAMS = Test check_SOURCES= $(testHead) $(testCPP) TESTS= $(check_PROGRAMS) You need to use the name of the program as a prefix to the SOURCES primary. Al

Re: Trouble creating a check program in automake

2015-03-07 Thread Bob Friesenhahn
On Sat, 7 Mar 2015, Arthur Schwarz wrote: I'm trying to learn automake (Autotools by John Calcotte) and am stumped on creating a check program to test my C++ library. A partial listing of the program is given below. The example in the text shows creation of a test program using a shell script te

Trouble creating a check program in automake

2015-03-07 Thread Arthur Schwarz
I'm trying to learn automake (Autotools by John Calcotte) and am stumped on creating a check program to test my C++ library. A partial listing of the program is given below. The example in the text shows creation of a test program using a shell script testing the output of the test program. I have