From 40f1c4a6f0f76d3511625d1ccd9352eea83f5144 Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Thu, 29 Nov 2018 18:53:39 +0800 Subject: [PATCH] fix test=develop --- paddle/scripts/paddle_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 24e488afba4..aa2d2e0db1e 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -459,9 +459,10 @@ function assert_api_not_changed() { # Use sed to make python2 and python3 sepc keeps the same sed -i 's/arg0: str/arg0: unicode/g' new.spec sed -i "s/\(.*Transpiler.*\).__init__ ArgSpec(args=\['self'].*/\1.__init__ /g" new.spec - # ComposeNotAligned has significant different between py2 and py3 - sed -i '/.*ComposeNotAligned.*/d' new.spec fi + # ComposeNotAligned has significant difference between py2 and py3 + sed -i '/.*ComposeNotAligned.*/d' new.spec + python ${PADDLE_ROOT}/tools/diff_api.py ${PADDLE_ROOT}/paddle/fluid/API.spec new.spec deactivate } -- GitLab