Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hudeng-go
Copy link

use tests/test-prj-runing.sh startup UT

@hudeng-go
Copy link
Author

可以需要dbus环境才能跑,这个可以在obs中启用kvm虚拟机构建环境满足,但是需要进一步尝试。

@hudeng-go
Copy link
Author

link to linuxdeepin/developer-center#3917

@hudeng-go
Copy link
Author

obs的ut构建可以跑通,但是真正进行ut测试时会报错,应该是需要ui环境才能跑起来,同时好像还缺少一些依赖。

@hudeng-go hudeng-go force-pushed the master branch 3 times, most recently from 2737380 to efc13fe Compare April 12, 2023 13:28
@hudeng-go
Copy link
Author

image
@max-lvs 你们的ut测试项涉及到哪些依赖呀?

@hudeng-go
Copy link
Author

image

本地环境遇到这样的错误, @max-lvs 应该是确实有问题吧?

@max-lvs
Copy link
Contributor

max-lvs commented Apr 13, 2023

当前部分UT target 有这些问题,会验证一下,可以选择部分通过的 把流程跑起来

1 similar comment
@max-lvs
Copy link
Contributor

max-lvs commented Apr 13, 2023

当前部分UT target 有这些问题,会验证一下,可以选择部分通过的 把流程跑起来

@hudeng-go hudeng-go force-pushed the master branch 3 times, most recently from eeaacef to 314a72d Compare April 13, 2023 09:34
max-lvs
max-lvs previously approved these changes Apr 13, 2023
Copy link
Contributor

@max-lvs max-lvs left a 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个为啥改了,还改成三个空格缩进的了?下面也有一个一样的变动

Copy link
Author

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
@hudeng-go
Copy link
Author

@max-lvs 由于arm的资源限制问题,目前暂时先停掉,amd的commit构建开启ut检查,没啥问题就合并了吧。

@hudeng-go
Copy link
Author

image

本地环境遇到这样的错误, @max-lvs 应该是确实有问题吧?

这个测试错误目前先跳过。

fix incorrect tab character and add xvfb test support

Also added a test environment preparation operation

Log:
Copy link
Contributor

@max-lvs max-lvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UT 脚本有冲突,需要merge 一下最新的哈

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 15, 2024

TAG Bot

New tag: 6.0.38
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1731

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 16, 2024

TAG Bot

New tag: 6.0.39
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1733

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 18, 2024

TAG Bot

New tag: 6.0.40
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1743

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 5, 2024

TAG Bot

New tag: 6.0.41
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1842

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 27, 2024

TAG Bot

New tag: 6.0.42
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1892

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Mar 28, 2024

TAG Bot

New tag: 6.0.43
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1901

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 3, 2024

TAG Bot

New tag: 6.0.44
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1921

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 10, 2024

TAG Bot

New tag: 6.0.45
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1932

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 12, 2024

TAG Bot

New tag: 6.0.46
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1938

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 16, 2024

TAG Bot

New tag: 6.0.47
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1945

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 18, 2024

TAG Bot

New tag: 6.0.48
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1949

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 30, 2024

TAG Bot

New tag: 6.0.49
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1967

@deepin-bot
Copy link
Contributor

deepin-bot bot commented May 9, 2024

TAG Bot

New tag: 6.0.50
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1970

@deepin-bot
Copy link
Contributor

deepin-bot bot commented May 22, 2024

TAG Bot

New tag: 6.0.51
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1991

@deepin-bot
Copy link
Contributor

deepin-bot bot commented May 31, 2024

TAG Bot

New tag: 6.0.52
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2004

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jun 26, 2024

TAG Bot

New tag: 6.0.53
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2050

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jul 10, 2024

TAG Bot

New tag: 6.0.54
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2097

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 8, 2024

TAG Bot

New tag: 6.0.55
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2190

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 15, 2024

TAG Bot

New tag: 6.0.56
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2202

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 26, 2024

TAG Bot

New tag: 6.0.57
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2229

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 3, 2024

TAG Bot

New tag: 6.0.58
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2249

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 3, 2024

TAG Bot

New tag: 6.0.59
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2257

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 20, 2024

TAG Bot

New tag: 6.5.4
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2305

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Sep 26, 2024

TAG Bot

New tag: 6.5.5
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #2318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants