Skip to content

Commit a693439

Browse files
committed
updating readmes, adding norm checker
1 parent 763e79d commit a693439

File tree

5 files changed

+746
-5
lines changed

5 files changed

+746
-5
lines changed

.gitignore

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@
55

66
*.bin
77

8+
############
9+
810
*.vg*
911
*.ls*
1012

11-
superbackup/
13+
############
14+
15+
*.log
16+
*.html
17+
*.out
18+
*.err
19+
00_sample

Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ test:
3535
@gcc -fprofile-arcs -ftest-coverage -o $(TESTNAME) $(TESTFILE) $(SRC) -g3 -I$(CRITERIONPATH)include -L$(CRITERIONPATH)lib -lcriterion -lm
3636

3737
run: test
38-
@./$(TESTNAME)
38+
@./$(TESTNAME) --verbose
3939

40-
.PHONY: all clean fclean re test run
40+
runc: test
41+
@gcovr --exclude */tests.c --exclude-unreachable-branches --sort-percentage --print-summary
42+
43+
norm:
44+
@ruby normono.rb
45+
46+
.PHONY: all clean fclean re test run runc norm

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Criterion tests for each exercise are run with the command `make run`.
3131
## Exercises
3232

3333
The 30 exercises are located in `/exercises/`, ready to code with (fake) headers and expectations are listed as comments.
34-
The exercises are to be completed with most library functions prohibited; specification are listed above each prototype.
34+
The exercises are to be completed with most library functions prohibited; specification are listed above each prototype. Needed includes are already in the headers.
3535
You may notice that the exercises are not all equal in difficulty, so you may want to practice them individually before attempting a full run.
3636

3737
---

0 commit comments

Comments
 (0)