|
|
@ -234,8 +234,14 @@ fi |
|
|
|
objectivec/generate_well_known_types.sh --check-only -j "${NUM_MAKE_JOBS}" |
|
|
|
objectivec/generate_well_known_types.sh --check-only -j "${NUM_MAKE_JOBS}" |
|
|
|
|
|
|
|
|
|
|
|
header "Checking on the ObjC Runtime Code" |
|
|
|
header "Checking on the ObjC Runtime Code" |
|
|
|
objectivec/DevTools/pddm_tests.py |
|
|
|
# Some of the kokoro machines don't have python3 yet, so fall back to python if need be. |
|
|
|
if ! objectivec/DevTools/pddm.py --dry-run objectivec/*.[hm] objectivec/Tests/*.[hm] ; then |
|
|
|
if hash python3 >/dev/null 2>&1 ; then |
|
|
|
|
|
|
|
LOCAL_PYTHON=python3 |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
LOCAL_PYTHON=python |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
"${LOCAL_PYTHON}" objectivec/DevTools/pddm_tests.py |
|
|
|
|
|
|
|
if ! "${LOCAL_PYTHON}" objectivec/DevTools/pddm.py --dry-run objectivec/*.[hm] objectivec/Tests/*.[hm] ; then |
|
|
|
echo "" |
|
|
|
echo "" |
|
|
|
echo "Update by running:" |
|
|
|
echo "Update by running:" |
|
|
|
echo " objectivec/DevTools/pddm.py objectivec/*.[hm] objectivec/Tests/*.[hm]" |
|
|
|
echo " objectivec/DevTools/pddm.py objectivec/*.[hm] objectivec/Tests/*.[hm]" |
|
|
|