@@ -180,7 +180,7 @@ DIFFCOV_NOFRAME_OPTS="$BASE_OPTS --demangle-cpp --prefix $PARENT --version-scrip
180
180
DIFFCOV_OPTS=" $DIFFCOV_NOFRAME_OPTS --frame"
181
181
182
182
status=0
183
- ln -s simple.cpp test.cpp
183
+ cp simple.cpp test.cpp
184
184
${CXX} --coverage $COVERAGE_OPTS test.cpp
185
185
./a.out
186
186
257
257
# test filter with differing version
258
258
$COVER $LCOV_TOOL $LCOV_OPTS --output filt.info --filter branch,line -a baseline2.info $IGNORE
259
259
if [ 0 == $? ] ; then
260
- echo " ERROR: filter with mismatched version did not fail"
260
+ echo " ERROR: filter with mismatched version did not fail 2 "
261
261
status=1
262
262
if [ 0 == $KEEP_GOING ] ; then
263
263
exit 1
928
928
929
929
# and the inverse difference
930
930
rm -f test.cpp
931
- ln -s simple.cpp test.cpp
931
+ cp simple.cpp test.cpp
932
932
diff -u simple2.cpp simple.cpp | sed -e " s|simple2*\.cpp|$ROOT /test.cpp|g" > diff_r.txt
933
933
934
934
# make the version number look different so the new diff file
@@ -937,8 +937,8 @@ sed -E 's/VER:#1/VER:#2/' current.info > current_hacked.info
937
937
938
938
# will get MD5 mismatch unless we have the simple.cpp and simple.cpp files
939
939
# set up in the expected places
940
- echo genhtml $DIFFCOV_OPTS --baseline-file ./current_hacked.info --diff-file diff_r.txt -o ./reverse ./baseline_orig.info $IGNORE
941
- $COVER $GENHTML_TOOL $DIFFCOV_OPTS --baseline-file ./current_hacked.info --diff-file diff_r.txt -o ./reverse ./baseline_orig.info $GENHTML_PORT $IGNORE
940
+ echo genhtml $DIFFCOV_OPTS --baseline-file ./current_hacked.info --diff-file diff_r.txt -o ./reverse ./baseline_orig.info $IGNORE --ignore version
941
+ $COVER $GENHTML_TOOL $DIFFCOV_OPTS --baseline-file ./current_hacked.info --diff-file diff_r.txt -o ./reverse ./baseline_orig.info $GENHTML_PORT $IGNORE --ignore version
942
942
if [ 0 != $? ] ; then
943
943
echo " ERROR: genhtml branch failed"
944
944
status=1
0 commit comments