From 16aa68cb83e72f80d289951b5787c7dce78c80cb Mon Sep 17 00:00:00 2001 From: hades Date: Thu, 31 Aug 2000 16:46:26 +0000 Subject: [PATCH] *** empty log message *** --- allParam/Makefile | 5 +++++ allParam/test/Makefile | 12 +++++++++--- allParam/test/suite.c | 2 ++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/allParam/Makefile b/allParam/Makefile index cece99d..7e8ae4d 100644 --- a/allParam/Makefile +++ b/allParam/Makefile @@ -34,12 +34,16 @@ $(patsubst %Param,install_%,$(PARAMLIBES)) : install -m 664 $(patsubst install_%,%,$@)/param.h \ $(INCDIR)/$(patsubst install_%,%,$@) +test : + cd test ; $(MAKE) $@ + clean : cd ca ; $(MAKE) $@ cd file ; $(MAKE) $@ cd psql ; $(MAKE) $@ cd ora ; $(MAKE) $@ cd tcl ; $(MAKE) $@ + cd test ; $(MAKE) $@ lib_clean : cd ca ; $(MAKE) $@ @@ -47,4 +51,5 @@ lib_clean : cd psql ; $(MAKE) $@ cd ora ; $(MAKE) $@ cd tcl ; $(MAKE) $@ + cd test ; $(MAKE) bin_clean diff --git a/allParam/test/Makefile b/allParam/test/Makefile index 5a1e6a7..c2bda74 100644 --- a/allParam/test/Makefile +++ b/allParam/test/Makefile @@ -1,4 +1,3 @@ -CC = gcc MV = mv # Channel Access test @@ -36,6 +35,13 @@ LIBS = ca file ora psql tcl suite : $(addsuffix _suite,$(LIBS)) +test : $(addsuffix _suite_new,$(LIBS)) + time ./ca_suite > test_protocol.txt + time ./file_suite >> test_protocol.txt + time ./ora_suite >> test_protocol.txt + time ./psql_suite >> test_protocol.txt + time ./tcl_suite >> test_protocol.txt + $(addsuffix _suite_new,$(LIBS)) : $(RM) $(patsubst %_new,%,$@) $(MAKE) $(patsubst %_new,%,$@) @@ -81,8 +87,8 @@ $(addsuffix .o, $(TESTS)) : $(patsubst %.o,%.c,$@) $(patsubst %.o,%.h,$@) $(CC) -c $(CFLAGS) $(patsubst %.o,%.c,$@) -o $@ clean : - rm -f *.o + rm -f *.o test_protocol.txt bin_clean : - rm *.o *_suite + rm *.o *_suite test_protocol.txt diff --git a/allParam/test/suite.c b/allParam/test/suite.c index d7c40ea..39e498e 100644 --- a/allParam/test/suite.c +++ b/allParam/test/suite.c @@ -31,6 +31,8 @@ int main(int argc, char *argv[]) { param = malloc(sizeof(Param)); conParam(param); + printf("================================================================================\n"); + printf("%s : Starting test ...\n", argv[0]); printf("================================================================================\n"); errors -= test1("Test 1", param); errors -= test2("Test 2", param); -- 2.43.0