Skip to content

Commit 1976b68

Browse files
author
Antti Kauppila
committed
Merge pull request #4 from ARMmbed/randlib_unittests
randlib unit tested
2 parents 1d1b92b + 77d8232 commit 1976b68

File tree

10 files changed

+874
-0
lines changed

10 files changed

+874
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#scan for folders having "Makefile" in them and remove 'this' to prevent loop
2+
ifeq ($(OS),Windows_NT)
3+
all:
4+
clean:
5+
else
6+
DIRS := $(filter-out ./, $(sort $(dir $(shell find . -name 'Makefile'))))
7+
8+
all:
9+
for dir in $(DIRS); do \
10+
cd $$dir; make gcov; cd ..;\
11+
done
12+
13+
clean:
14+
for dir in $(DIRS); do \
15+
cd $$dir; make clean; cd ..;\
16+
done
17+
rm -rf ../source/*gcov ../source/*gcda ../source/*o
18+
rm -rf stubs/*gcov stubs/*gcda stubs/*o
19+
rm -rf results/*
20+
rm -rf coverages/*
21+
rm -rf results
22+
rm -rf coverages
23+
endif

0 commit comments

Comments
 (0)