Jelajahi Sumber

Update the Mac build script to include the conformance tests

- Kick off the conformance tests
- Add missing ignore for something generated by a build on the conformance directory.
Thomas Van Lenten 10 tahun lalu
induk
melakukan
f0411ec974
2 mengubah file dengan 6 tambahan dan 1 penghapusan
  1. 1 0
      .gitignore
  2. 5 1
      objectivec/DevTools/full_mac_build.sh

+ 1 - 0
.gitignore

@@ -104,4 +104,5 @@ conformance/conformance-cpp
 conformance/conformance-test-runner
 conformance/conformance-test-runner
 conformance/conformance.pb.cc
 conformance/conformance.pb.cc
 conformance/conformance.pb.h
 conformance/conformance.pb.h
+conformance/conformance.rb
 conformance/protoc_middleman
 conformance/protoc_middleman

+ 5 - 1
objectivec/DevTools/full_mac_build.sh

@@ -114,7 +114,7 @@ while [[ $# != 0 ]]; do
 done
 done
 
 
 # Into the proto dir.
 # Into the proto dir.
-pushd "${ProtoRootDir}"
+cd "${ProtoRootDir}"
 
 
 # if no Makefile, force the autogen.
 # if no Makefile, force the autogen.
 if [[ ! -f Makefile ]] ; then
 if [[ ! -f Makefile ]] ; then
@@ -160,6 +160,10 @@ header "Building"
 # at random.
 # at random.
 wrapped_make -j "${NUM_MAKE_JOBS}" all
 wrapped_make -j "${NUM_MAKE_JOBS}" all
 wrapped_make -j "${NUM_MAKE_JOBS}" check
 wrapped_make -j "${NUM_MAKE_JOBS}" check
+# Fire off the conformance tests also.
+cd conformance
+wrapped_make -j "${NUM_MAKE_JOBS}"
+cd ..
 
 
 header "Ensuring the ObjC descriptors are current."
 header "Ensuring the ObjC descriptors are current."
 # Find the newest input file (protos, compiler, and the generator script).
 # Find the newest input file (protos, compiler, and the generator script).