aboutsummaryrefslogtreecommitdiff
path: root/tests.mk
AgeCommit message (Collapse)Author
2016-04-06add standard "check" targetMike Frysinger
The wider build world uses `make check` to run all unittests. Add that target to our build too. Change-Id: I55f867e75ea8c01fd6a6e121d3f393403a8d9d34 Reviewed-on: https://weave-review.googlesource.com/3150 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
2016-04-06Add "make coverage" target to build code coverage.Bryan Lewandowski
Change-Id: I8b00004e9ea5954ee7117cdaaaa2969090762570 Reviewed-on: https://weave-review.googlesource.com/3126 Reviewed-by: Mike Frysinger <vapier@google.com>
2016-03-24libevhtp: build checked out copyMike Frysinger
Now that libevhtp is part of the manifest, build it directly and store the results in out/. This also deletes references to third_party/{include,lib} as they're no longer needed. BUG=b/27820899 TEST+`make` still works, as does the unittests Change-Id: I6b1dd91cea0f152f8e79527e842add6a9d797a3c Reviewed-on: https://weave-review.googlesource.com/3001 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
2016-03-22add integrated cross-compile & qemu supportMike Frysinger
This uses the existing CrOS toolchains & boards to cross-compile for arm and mipsel boards. It also includes qemu support for running tests. BUG=b/26741388 TEST=`make cross-arm all-libs` downloads & builds w/arm Change-Id: Ie974b1c3c2b61759e87f87bab535068a1c31a727 Reviewed-on: https://weave-review.googlesource.com/3000 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
2016-03-17gtest/gmock: build checked out copyMike Frysinger
Now that gtest/gmock are part of the manifest, build them directly and store the results in out/. BUG=b/27707648 TEST+`make` still works, as does the unittests Change-Id: I8a8235b4bc0100731168a44c6553859a5d85bbe1 Reviewed-on: https://weave-review.googlesource.com/2952 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
2016-02-03Revert "Make internal googletest optional."Jacob Marble
This reverts commit 60b131cc2f57ae1408498538d024f65dcfc2c35e. Having internal googletest is not necessary, and therefore not wanted. Change-Id: Ib6d215ed5c53c64e8477e4df6b8921513c270ab3 Reviewed-on: https://weave-review.googlesource.com/2480 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-02-03Make internal googletest optional.Jacob Marble
Useful for packaging, when target already has a googletest package. To use: make USE_INTERNAL_GTEST=0 Change-Id: I67620288684dc4ab0b662929b2d5c29306ed585a Reviewed-on: https://weave-review.googlesource.com/2465 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-01-25Update gtestVitaly Buka
Change-Id: Ifce12b71b7435df58f9b25ef5b5e4e8d0ab909c6 Reviewed-on: https://weave-review.googlesource.com/2330 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-01-25Include of gtest_prod.h only building unittestsVitaly Buka
Change-Id: I605ba14fa7e205158aef671c98938b911362b5b6 Reviewed-on: https://weave-review.googlesource.com/2329 Reviewed-by: Jacob Marble <jacobmarble@google.com> Reviewed-by: Alex Vakulenko <avakulenko@google.com>
2016-01-21Change proxied Makefile dependencies to .h.Jacob Marble
The third_party dependencies gtest/gmock and libevent are less confusing when they are proxied by their header files. The compiled libraries are included implicitly (like the header files before). Change-Id: Ieb0eae473adfb9811214a40df8334c541e6ff9a3 BUG: 26564098 Reviewed-on: https://weave-review.googlesource.com/2237 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-01-14libweave: Remove gyp build files.Jacob Marble
Also, added notes to examples/build.sh and examples/prerequisites.sh so that folks know where to turn to. BUG: 26508278 Change-Id: Ibc224916463383cd75089b9ef1c468bc12d150ca Reviewed-on: https://weave-review.googlesource.com/2189 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-01-13libweave: Add clang support to Makefile.Jacob Marble
To use: "CLANG=1 make all -j" BUG: 26508278 Change-Id: I6b09e6574634d8e07ce2438c31907466e953eb0f Reviewed-on: https://weave-review.googlesource.com/2185 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
2016-01-12libweave: Build with Makefile instead of GYP.Jacob Marble
Mitigates the need for *.gyp, *.gypi, src/empty.cc, examples/build.sh, examples/prerequisites.sh, but does not remove those files. Conditions for clang have not been added yet. "make" generates libweave.so "make test" builds and runs tests "make clean" does what you expect "make third_party/lib/libevent.a" downloads and builds libevent "make cleanall" runs clean, and cleans libevent and googletest BUG: 26508278 Change-Id: I505f0b1275b6cf074a06d29c658367c257faf142 Reviewed-on: https://weave-review.googlesource.com/2167 Reviewed-by: Vitaly Buka <vitalybuka@google.com>