diff --git a/tests/test_pragma_once/Makefile b/tests/test_pragma_once/Makefile index 72b47747..8b2aacfc 100644 --- a/tests/test_pragma_once/Makefile +++ b/tests/test_pragma_once/Makefile @@ -1,8 +1,8 @@ include ../Makefile.boilerplate $(TEST): .c-xrefrc - @rm -rf $(TEST).log CXrefs /tmp/c-xref*.log - @$(CXREF) include1.h include2.h -o $(TEST).log + @-rm -rf $(TEST).log CXrefs /tmp/c-xref*.log + @$(COMMAND) include1.h include2.h -o $(TEST).log @grep include1.h CXrefs/XFiles > /dev/null ; \ if [ $$? -ne 0 ] ; then \ $(FAIL) ; \ diff --git a/tests/test_process_yacc/Makefile b/tests/test_process_yacc/Makefile index 60eee262..0820d972 100644 --- a/tests/test_process_yacc/Makefile +++ b/tests/test_process_yacc/Makefile @@ -7,7 +7,7 @@ YACC = ../../byacc-1.9/yacc $(TEST): $(YACC) .c-xrefrc @rm -rf $(TEST).log CXrefs @$(YACC) file.y - @$(CXREF) *.[cy] -o $(TEST).log + @$(COMMAND) *.[cy] -o $(TEST).log @# Get the "symbol" for the yacc-file from the CXrefs and use it @# to find the reference to func from the .y file @f=`grep process_yacc/file.y CXrefs/* | awk '{print $$1}'` ; \