{ "private": { "type": ["test_rules", "test_case"] , "name": ["deps_private"] , "targets": [ "+foo" , "-main_includes_foo" , "+main_links_foo" , "+main_links_bar_foo" , "+install_bar" ] , "asserts": [ "test -f foo/foo/libfoo.a" , "test -f foo/foo/foo.hpp" , "! test -f foo/bar/bar.hpp" , "./main_links_foo/main | grep foo" , "./main_links_bar_foo/main | grep bar" , "./main_links_bar_foo/main | grep foo" , "test -f install_bar/lib/bar/libbar.a" , "test -f install_bar/include/bar/bar.hpp" , "test -f install_bar/lib/foo/libfoo.a" , "! test -f install_bar/include/foo/foo.hpp" ] , "data": [["TREE", null, "private"]] } , "public": { "type": ["test_rules", "test_case"] , "name": ["deps_public"] , "targets": [ "+foo" , "+main_includes_foo" , "+main_links_foo" , "+main_links_bar_foo" , "+install_bar" ] , "asserts": [ "test -f foo/foo/libfoo.a" , "test -f foo/foo/foo.hpp" , "! test -f foo/bar/bar.hpp" , "./main_includes_foo/main | grep main" , "./main_links_foo/main | grep foo" , "./main_links_bar_foo/main | grep bar" , "./main_links_bar_foo/main | grep foo" , "test -f install_bar/lib/bar/libbar.a" , "test -f install_bar/include/bar/bar.hpp" , "test -f install_bar/lib/foo/libfoo.a" , "test -f install_bar/include/foo/foo.hpp" ] , "data": [["TREE", null, "public"]] } , "shared": { "type": ["test_rules", "test_case"] , "name": ["deps_shared"] , "targets": [ "+foo" , "+bar" , "+main_uses_foo" , "+test_uses_foo" , "+main_uses_bar" , "+test_uses_bar" , "+test_uses_bar_s" , "+test_uses_baz" , "+test_uses_main" , "+test_diamond" , "+install_foo" , "+install_bar_s" , "+install_baz" , "+install_main" ] , "asserts": [ "test -f foo/libfoo.so.1.2.3" , "test -f foo/foo/foo.hpp" , "test -f bar/libbar.so" , "test -f bar/bar/bar.hpp" , "! test -f bar/foo/foo.hpp" , "test -f install_foo/lib/libfoo.so.1.2.3" , "test -f install_foo/include/foo/foo.hpp" , "grep 'Name: foo' install_foo/share/pkgconfig/foo.pc" , "grep 'Version: 1.2.3' install_foo/share/pkgconfig/foo.pc" , "grep -- '-L${libdir}' install_foo/share/pkgconfig/foo.pc" , "grep -- '-l:libfoo.so.1.2.3' install_foo/share/pkgconfig/foo.pc" , "test -f install_bar_s/lib/bar/libbar.a" , "test -f install_bar_s/include/bar/bar.hpp" , "test -f install_bar_s/lib/libfoo.so.1.2.3" , "! test -f install_bar_s/include/foo/foo.hpp" , "grep 'Name: bar' install_bar_s/share/pkgconfig/bar.pc" , "grep '${libdir}/bar/libbar.a' install_bar_s/share/pkgconfig/bar.pc" , "grep '${libdir}/libfoo.so.1.2.3' install_bar_s/share/pkgconfig/bar.pc" , "test -f install_baz/lib/libbaz.so" , "test -f install_baz/include/baz/baz.hpp" , "! test -f install_baz/lib/foo/libfoo.a" , "! test -f install_baz/include/foo/foo.hpp" , "./install_main/bin/main_uses_bar | grep main" , "./install_main/bin/main_uses_bar | grep bar" , "./install_main/bin/main_uses_bar | grep foo" , "! test -d install_main/include" ] , "data": [["TREE", null, "shared"]] } , "prebuilt_tests": { "type": "tree" , "deps": [ ["test_cases/deps/prebuilt", "foo.hpp"] , ["test_cases/deps/prebuilt", "bar.hpp"] , ["test_cases/deps/prebuilt", "TARGETS"] , ["TREE", null, "shared"] ] } , "prebuilt": { "type": ["test_rules", "test_case"] , "name": ["deps_prebuilt"] , "targets": [ "+foo" , "+bar" , "+main_uses_foo" , "+test_uses_foo" , "+main_uses_bar" , "+test_uses_bar" , "+test_uses_bar_s" , "+test_uses_main" , "+install_foo" , "+install_bar" , "+install_main" , "+test_uses_foobar" , "+test_uses_foobar_s" , "+install_foobar" ] , "asserts": [ "test -f foo/libfoo.so.1.2.3" , "test -f foo/foo/foo.hpp" , "test -f bar/libbar.so" , "test -f bar/bar/bar.hpp" , "test -f install_foo/share/pkgconfig/foo/foo.cflags" , "test -f install_foo/share/pkgconfig/foo/foo.ldflags" , "test -f install_bar/share/pkgconfig/foo/foo.cflags" , "test -f install_bar/share/pkgconfig/foo/foo.ldflags" , "test -f install_bar/share/pkgconfig/bar/bar.cflags" , "test -f install_bar/share/pkgconfig/bar/bar.ldflags" , "./install_main/bin/main_uses_bar | grep main" , "./install_main/bin/main_uses_bar | grep bar" , "./install_main/bin/main_uses_bar | grep foo" , "test -f install_foobar/lib/libfoo.so.1.2.3" , "test -f install_foobar/lib/libbar.so" , "test -f install_foobar/share/pkgconfig/foobar.pc" , "grep 'Cflags:.*@${prefix}/share/pkgconfig/bar/foobar.cflags' install_foobar/share/pkgconfig/foobar.pc" , "grep -- '-DUSE_BAR=1 -DUSE_FOO=1' install_foobar/share/pkgconfig/bar/foobar.cflags" , "grep 'Libs:.*@${prefix}/share/pkgconfig/bar/foobar.ldflags' install_foobar/share/pkgconfig/foobar.pc" , "grep -- '-lm -lpthread' install_foobar/share/pkgconfig/bar/foobar.ldflags" ] , "data": ["prebuilt_tests"] } , "cmake": { "type": ["test_rules", "test_case"] , "name": ["deps_cmake"] , "libs": ["googletest"] , "targets": [ "+gtest" , "+test" , "+gtest_main" , "+testbin" , "+shell_test" , "+install_gtest" , "+install_gtest_main" , "+install_testbin" ] , "asserts": [ "test -f gtest/libgtest.a" , "test -f gtest/gtest/gtest.h" , "grep 'PASSED.*1 test' test/stdout" , "test -f gtest_main/libgtest.so.1.13.0" , "test -f gtest_main/libgtest_main.so.1.13.0" , "test -f gtest_main/gtest/gtest.h" , "test -f ./testbin/test" , "grep 'PASSED.*1 test' shell_test/stdout" , "test -f install_gtest/lib/libgtest.a" , "test -f install_gtest/include/gtest/gtest.h" , "grep 'Cflags.*share/pkgconfig/gtest.cflags' install_gtest/share/pkgconfig/gtest.pc" , "grep 'Libs.*libgtest.a' install_gtest/share/pkgconfig/gtest.pc" , "grep 'Libs.*share/pkgconfig/gtest.ldflags' install_gtest/share/pkgconfig/gtest.pc" , "test -f install_gtest_main/lib/libgtest.so.1.13.0" , "test -f install_gtest_main/lib/libgtest_main.so.1.13.0" , "test -f install_gtest_main/include/gtest/gtest.h" , "grep 'Cflags.*share/pkgconfig/gtest_main.cflags' install_gtest_main/share/pkgconfig/gtest_main.pc" , "grep 'Libs.*libgtest.so.1.13.0' install_gtest_main/share/pkgconfig/gtest_main.pc" , "grep 'Libs.*libgtest_main.so.1.13.0' install_gtest_main/share/pkgconfig/gtest_main.pc" , "grep 'Libs.*share/pkgconfig/gtest_main.ldflags' install_gtest_main/share/pkgconfig/gtest_main.pc" , "./install_testbin/bin/test | grep 'PASSED.*1 test'" ] , "data": [["TREE", null, "cmake"]] } , "ALL": { "type": "install" , "deps": ["private", "public", "shared", "prebuilt", "cmake"] , "tainted": ["test"] } }