Skip to content

Commit

Permalink
makefile and ignore mods
Browse files Browse the repository at this point in the history
  • Loading branch information
wulffern committed May 29, 2023
1 parent b537472 commit fc1deea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*#
*~
.#*
.vscode
bin
version.h
*.autosave
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ VERSION_HASH=${shell git describe --tags}

TESTS= sar routes

cwd = ${shell pwd}

#- Figure out which platform we're running on
ifeq ($(OS),Windows_NT)
#- Not compatible with windows yet
Expand Down Expand Up @@ -154,4 +156,7 @@ cirun:
docker run --rm -it -v `pwd`:/lcic ${CONT} bash

test:
${foreach f, ${TESTS}, cd tests/${f}; make test || exit; cd ../../;}
${foreach f, ${TESTS}, cd ${cwd}; cd tests/${f} && make test || exit; }

cleantest:
${foreach f, ${TESTS}, cd ${cwd}; cd tests/${f} && make clean; }

0 comments on commit fc1deea

Please sign in to comment.