Parcourir la source

Make the C++ tests build the benchmarking code.

Josh Haberman il y a 9 ans
Parent
commit
cb36bde047
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      tests.sh

+ 3 - 0
tests.sh

@@ -36,6 +36,9 @@ build_cpp() {
   internal_build_cpp
   internal_build_cpp
   make check -j2
   make check -j2
   cd conformance && make test_cpp && cd ..
   cd conformance && make test_cpp && cd ..
+
+  # Verify benchmarking code can build successfully.
+  cd benchmarks && make && cd ..
 }
 }
 
 
 build_cpp_distcheck() {
 build_cpp_distcheck() {