modify compile warning

Signed-off-by: lifansheng <lifansheng1@huawei.com>
This commit is contained in:
lifansheng
2021-09-27 17:12:25 +08:00
parent 0431c34492
commit be1dfc7e08
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ config("ark_jsruntime_config") {
config("ecma_test_config") {
visibility = [ ":*" ]
cflags_cc = [ "-Wno-sign-compare" ]
cflags_cc = []
}
ecma_source = [
+2 -2
View File
@@ -15,7 +15,7 @@
set -e
pushd ark/ts2abc
time=`date +'%Y%m%d%H%M%S'`
time=$(date +'%Y%m%d%H%M%S')
if [ ! -d report ];then
mkdir report
fi
@@ -35,7 +35,7 @@ pushd ark/ts2abc
cp out/test262/result.txt report/result_es2015_${time}.txt
pushd report
es2015_fail=`grep FAIL result_es2015_${time}.txt | wc -l`
es2015_fail=$(grep FAIL result_es2015_${time}.txt | wc -l)
threshold=0
if [ ${es2015_fail} -gt ${threshold} ];then
echo 'test262 fail case over thresgold'