Skip to content

Commit ec7038b

Browse files
authored
minor fixups for make check (#270)
* fix numeric compare Signed-off-by: nega <[email protected]> * rename sub-test makefile Signed-off-by: nega <[email protected]> * add test artifact to "clean" Signed-off-by: nega <[email protected]> * add test artifacts to gitignore Signed-off-by: nega <[email protected]> --------- Signed-off-by: nega <[email protected]>
1 parent bfb0a50 commit ec7038b

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,39 @@
2929
/tests/lcov/extract/a.out
3030
/tests/lcov/extract/lcov.json
3131
/tests/lcov/extract/testRC
32+
/tests/gendiffcov/filter/brace.info.filtered
33+
/tests/gendiffcov/filter/brace.info.orig
34+
/tests/gendiffcov/insensitive/TEst.cpp.annotated
35+
/tests/gendiffcov/insensitive/a.out
36+
/tests/gendiffcov/insensitive/diff.txt
37+
/tests/gendiffcov/synthesize/a.out
38+
/tests/gendiffcov/synthesize/annotate.sh
39+
/tests/gendiffcov/synthesize/test.cpp
40+
/tests/gendiffcov/synthesize/test.cpp.annotated
41+
/tests/genhtml/lambda/lambda
42+
/tests/lcov/branch/macro
43+
/tests/lcov/branch/no_macro
44+
/tests/lcov/demangle/a.out
45+
/tests/lcov/demangle/lcov.json
46+
/tests/lcov/exception/a.out
47+
/tests/lcov/exception/lcov.json
48+
/tests/lcov/extract/rcOptBug
49+
/tests/lcov/extract/rcOptBug.json
50+
/tests/lcov/format/lcov.json
51+
/tests/lcov/gcov-tool/test
52+
/tests/perl2lcov/lcov.json
3253

3354

3455
# ignore autogenerated test directories
56+
/tests/genhtml/lambda/report/
3557
/tests/genhtml/out_full/
3658
/tests/genhtml/out_part1/
3759
/tests/genhtml/out_part2/
3860
/tests/genhtml/out_target/
3961
/tests/genhtml/out_zero/
62+
/tests/genhtml/relative/relative/
4063
/tests/src/
64+
/tests/gendiffcov/insensitive/differential/
4165
/tests/gendiffcov/simple/baseline-filter-dark/
4266
/tests/gendiffcov/simple/baseline-filter/
4367
/tests/gendiffcov/simple/baseline/
@@ -58,3 +82,10 @@
5882
/tests/gendiffcov/simple/noncode_differential/
5983
/tests/gendiffcov/simple/reverse/
6084
/tests/gendiffcov/simple/reverse_nobranch/
85+
/tests/gendiffcov/synthesize/annotateErr/
86+
/tests/gendiffcov/synthesize/annotated/
87+
/tests/gendiffcov/synthesize/vanilla/
88+
/tests/lcov/extract/separate/
89+
/tests/perl2lcov/cover_genhtml/
90+
/tests/perl2lcov/cover_one/
91+
/tests/perl2lcov/perl2lcov_report/

tests/common.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif
2626

2727
TESTBINDIR := $(TOPDIR)bin
2828

29-
IS_GIT := $(shell git -C $(TOPDIR) rev-parse 2>&1 > /dev/null ; if [ 0 == $$? ]; then echo 1 ; else echo 0 ; fi)
29+
IS_GIT := $(shell git -C $(TOPDIR) rev-parse 2>&1 > /dev/null ; if [ 0 -eq $$? ]; then echo 1 ; else echo 0 ; fi)
3030

3131
ifeq (1,$(IS_GIT))
3232
ANNOTATE_SCRIPT=$(SCRIPTDIR)/gitblame.pm

tests/lcov/extract/extract.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ if [ "${VER[0]}" -lt 5 ] ; then
101101
fi
102102
103103
rm -rf *.gcda *.gcno a.out *.info* *.txt* *.json dumper* testRC *.gcov *.gcov.* *.log
104+
rm -rf rcOptBug
104105
if [ -d separate ] ; then
105106
chmod -R ug+rxw separate
106107
rm -rf separate
File renamed without changes.

0 commit comments

Comments
 (0)