-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [UT] add UT after build #812
base: master
Are you sure you want to change the base?
Conversation
可以需要dbus环境才能跑,这个可以在obs中启用kvm虚拟机构建环境满足,但是需要进一步尝试。 |
obs的ut构建可以跑通,但是真正进行ut测试时会报错,应该是需要ui环境才能跑起来,同时好像还缺少一些依赖。 |
2737380
to
efc13fe
Compare
|
本地环境遇到这样的错误, @max-lvs 应该是确实有问题吧? |
当前部分UT target 有这些问题,会验证一下,可以选择部分通过的 把流程跑起来 |
1 similar comment
当前部分UT target 有这些问题,会验证一下,可以选择部分通过的 把流程跑起来 |
eeaacef
to
314a72d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot
@@ -38,7 +38,7 @@ RESULT_UT_REPORT_FILE=$REPORT_DIR/report/report_$REPORT_NAME.xml | |||
ASAN_OPTIONS="new_delete_type_mismatch=0" $BUILD_DIR/$APP_NAME --gtest_output=xml:$RESULT_UT_REPORT_FILE | |||
|
|||
if [ ! -f "$RESULT_UT_REPORT_FILE" ]; then | |||
echo "Error: UT process is broken by: " $RESULT_UT_REPORT_FILE | |||
echo "Error: UT process is broken by: " $RESULT_UT_REPORT_FILE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个为啥改了,还改成三个空格缩进的了?下面也有一个一样的变动
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是它的缩进有问题,感觉是输入法设置导致的,脚本跑到这里不能正确输出,所以重新调整了一下缩进解决这个问题。
use tests/test-prj-runing.sh startup UT
@max-lvs 由于arm的资源限制问题,目前暂时先停掉,amd的commit构建开启ut检查,没啥问题就合并了吧。 |
这个测试错误目前先跳过。 |
fix incorrect tab character and add xvfb test support Also added a test environment preparation operation Log:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UT 脚本有冲突,需要merge 一下最新的哈
TAG Bot New tag: 6.0.38 |
TAG Bot New tag: 6.0.39 |
TAG Bot New tag: 6.0.40 |
TAG Bot New tag: 6.0.41 |
TAG Bot New tag: 6.0.42 |
TAG Bot New tag: 6.0.43 |
TAG Bot New tag: 6.0.44 |
TAG Bot New tag: 6.0.45 |
TAG Bot New tag: 6.0.46 |
TAG Bot New tag: 6.0.47 |
TAG Bot New tag: 6.0.48 |
TAG Bot New tag: 6.0.49 |
TAG Bot New tag: 6.0.50 |
TAG Bot New tag: 6.0.51 |
TAG Bot New tag: 6.0.52 |
TAG Bot New tag: 6.0.53 |
TAG Bot New tag: 6.0.54 |
TAG Bot New tag: 6.0.55 |
TAG Bot New tag: 6.0.56 |
TAG Bot New tag: 6.0.57 |
TAG Bot New tag: 6.0.58 |
TAG Bot New tag: 6.0.59 |
TAG Bot New tag: 6.5.4 |
TAG Bot New tag: 6.5.5 |
TAG Bot New tag: 6.5.6 |
TAG Bot New tag: 6.5.7 |
TAG Bot New tag: 6.5.8 |
TAG Bot New tag: 6.5.9 |
TAG Bot New tag: 6.5.10 |
use tests/test-prj-runing.sh startup UT