3b24dcc8a8
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> |
||
---|---|---|
.. | ||
source | ||
user-template | ||
Library_subsequenttest.mk | ||
Library_test.mk | ||
Makefile | ||
Module_test.mk | ||
Package_unittest.mk | ||
README |
Test harness code for C++ unit testing Many of these tests are run during the build process. In that case on unix, if a test fails follow the error messages to debug it under gdb.