Skip to content

Commit

Permalink
[tests] Move tweaking of .c-xrefrc from template to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Jun 24, 2024
1 parent 820aeff commit cf98e39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/c-xrefrc.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
-refs CURDIR/CXrefs
// number of tag files
-refnum=10
-set env ENV
6 changes: 5 additions & 1 deletion tests/test_get_environment_value/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ $(TEST): CXrefs
trace: EXTRA = \'-trace\'
trace: $(TEST)

CXrefs: .c-xrefrc
CXrefs: tweaked-c-xrefrc
@$(CXREF) -create test_source -o cxrefs.log

tweaked-c-xrefrc: .c-xrefrc
echo " -set env ENV" >> .c-xrefrc


debug:
@$(EDIT_SERVER_DRIVER) commands.input $(EXTRA) --delay 5 > output.tmp &
sleep 1
Expand Down

0 comments on commit cf98e39

Please sign in to comment.