From cfc242bf362a5d7c53bb8b2aacdd6752aac28f28 Mon Sep 17 00:00:00 2001 From: "jh9216.park" Date: Sun, 5 Dec 2021 19:19:28 -0500 Subject: [PATCH] Add compiler option '-b' The build test for cion needs option '-b' to handle type 'file' Change-Id: I30adb0a8a6b780eb61af437578c2f34a60cfa3df Signed-off-by: jh9216.park --- tests/build_tests/prebuild.sh | 8 ++++---- tests/build_tests/tidl/ExCion.tidl | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/build_tests/prebuild.sh b/tests/build_tests/prebuild.sh index 10bccf6..9ad3cf2 100755 --- a/tests/build_tests/prebuild.sh +++ b/tests/build_tests/prebuild.sh @@ -42,16 +42,16 @@ GenerateTIDL() { INPUT="${FILES_CION[index]}.tidl" OUTPUT="${FILES_CION[index]}CionProxy" - ${TIDLC} -p -n -c -l C++ -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} + ${TIDLC} -b -p -n -c -l C++ -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} OUTPUT="${FILES_CION[index]}CionStub" - ${TIDLC} -s -n -c -l C++ -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} + ${TIDLC} -b -s -n -c -l C++ -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} OUTPUT="${FILES_CION[index]}CionProxyC" - ${TIDLC} -p -n -c -l C -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} + ${TIDLC} -b -p -n -c -l C -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} OUTPUT="${FILES_CION[index]}CionStubC" - ${TIDLC} -s -n -c -l C -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} + ${TIDLC} -b -s -n -c -l C -i ${SCRIPT_DIR}/tidl/${INPUT} -o ${TARGET_DIR}/${OUTPUT} done } diff --git a/tests/build_tests/tidl/ExCion.tidl b/tests/build_tests/tidl/ExCion.tidl index fd42ff4..d3401db 100644 --- a/tests/build_tests/tidl/ExCion.tidl +++ b/tests/build_tests/tidl/ExCion.tidl @@ -22,7 +22,7 @@ struct MyClass { [ca_path="http://tizen.org/privilege/appmanager.launch", cert_path="asdfsd", private_key="12321432353"] interface School { - void ClassAddedCB(int ret) delegate; + void ClassAddedCB(int ret, file f) delegate; int T1(out bool b); int T2(out char c); int T3(out int l); @@ -50,5 +50,5 @@ interface School { int GetStudent(in string c_name, in string s_name, out Student student); int SetAllIds(list> nums); - int SetExtra(string s_name, array extra); + int SetExtra(string s_name, array extra, file f); } -- 2.7.4