Skip to content

Commit

Permalink
[tests] Fix two tests that used CXREF (the program) iso. COMMAND (inc…
Browse files Browse the repository at this point in the history
…l. BASE_ARGUMENTS)
  • Loading branch information
thoni56 committed Jun 12, 2024
1 parent 2c62f60 commit 7efa906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_pragma_once/Makefile
Original file line number Diff line number Diff line change
@@ -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) ; \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_process_yacc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}'` ; \
Expand Down

0 comments on commit 7efa906

Please sign in to comment.