(List (Com {[LIT_CHARS set]} {[LIT_CHARS -e]} ) (Com {[LIT_CHARS which]} {[LIT_CHARS lcov]} < (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 1), (DescriptorRedirectNode target={[LIT_CHARS 1]} &"> 2), > ) (If (Com {[LIT_DBRACKET_LIKE "["]} {[VarSub ?]} {[LIT_NEQUAL "!="]} {[LIT_CHARS 0]} {[LIT_DBRACKET_LIKE "]"]} ) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "lcov is required to generate the coverage report"]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) (If (DBracket {B1 UNARY_STRING_z {[VarSub MAKE]}}) (= scope= flags=0 words=[] bindings=[('MAKE', {[LIT_CHARS make]})]) ) (If (DBracket {B1 UNARY_STRING_z {[VarSub GTEST_FILTER]}}) (= scope= flags=0 words=[] bindings=[('GTEST_FILTER', {[SQ ]})]) ) (Com {[LIT_CHARS pushd]} {[LIT_CHARS build]} ) (Com {[LIT_CHARS ../configure]} {[LIT_CHARS --disable-optimize]} more_env=[('CXXFLAGS', {[DQ [LIT_CHARS "-pg --coverage"]]}), ('CFLAGS', {[DQ [LIT_CHARS "-pg --coverage"]]}), ('LDFLAGS', {[DQ [LIT_CHARS -lgcov]]})] ) (Pipeline (Com {[LIT_CHARS find]} {[LIT_CHARS -name]} {[\ LIT_ESCAPED_CHAR "\\*"] [LIT_CHARS .gcda]} ) (Com {[LIT_CHARS xargs]} {[LIT_CHARS rm]} ) ) (Pipeline (Com {[LIT_CHARS find]} {[LIT_CHARS -name]} {[\ LIT_ESCAPED_CHAR "\\*"] [LIT_CHARS .gcno]} ) (Com {[LIT_CHARS xargs]} {[LIT_CHARS rm]} ) ) (Com {[VarSub MAKE]} ) (Com {[LIT_CHARS lcov]} {[LIT_CHARS --directory]} {[LIT_CHARS .]} {[LIT_CHARS --zerocounters]} ) (Com {[VarSub MAKE]} {[LIT_CHARS check]} {[LIT_VAR_LIKE "GTEST_FILTER="] [VarSub GTEST_FILTER] =} ) (Com {[LIT_CHARS lcov]} {[LIT_CHARS --directory]} {[LIT_CHARS .]} {[LIT_CHARS -c]} {[LIT_CHARS -o]} {[LIT_CHARS mesos_test.info]} ) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS', {[DQ [LIT_CHARS "/usr/include/*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " /usr/lib/jvm/*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " mesos/build/*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " build/3rdparty/setuptools-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " build/3rdparty/leveldb*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " build/3rdparty/zookeeper-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */boost-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */elfio-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */glog-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */gmock-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */picojson-*"]]})]) (= scope= flags=0 words=[] bindings=[('LCOV_FILTERS+', {[DQ [LIT_CHARS " */protobuf-*"]]})]) (For f [{[VarSub LCOV_FILTERS]}]) (Com {[LIT_CHARS lcov]} {[LIT_CHARS --remove]} {[LIT_CHARS mesos_test.info]} {[VarSub f]} {[LIT_CHARS -o]} {[LIT_CHARS mesos_test.info]} ) ) (Com {[LIT_CHARS genhtml]} {[LIT_CHARS -o]} {[LIT_CHARS ./test_coverage]} {[LIT_CHARS -t]} {[DQ [LIT_CHARS "mesos test coverage"]]} {[LIT_CHARS --num-spaces]} {[LIT_CHARS 2]} {[LIT_CHARS mesos_test.info]} ) (Com {[LIT_CHARS popd]} ) )