Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
YottaChain
YTBP
提交
9696f102
Y
YTBP
项目概览
YottaChain
/
YTBP
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
YTBP
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9696f102
编写于
9月 13, 2018
作者:
B
Brian Johnson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added lable to allow parrallelizing ctest calls and updated buildkite. GH #5223
上级
b9a0b939
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
6 deletion
+17
-6
.buildkite/pipeline.yml
.buildkite/pipeline.yml
+6
-6
tests/CMakeLists.txt
tests/CMakeLists.txt
+11
-0
未找到文件。
.buildkite/pipeline.yml
浏览文件 @
9696f102
...
...
@@ -96,7 +96,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
ln -s "$(pwd)" /data/job && cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
@@ -116,7 +116,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
@@ -140,7 +140,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
@@ -164,7 +164,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
@@ -188,7 +188,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
@@ -212,7 +212,7 @@ steps:
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -
LE long_running
_tests --output-on-failure
cd /data/job/build && ctest -
j8 -LE _tests --output-on-failure && ctest -L nonparallelizable
_tests --output-on-failure
retry
:
automatic
:
limit
:
1
...
...
tests/CMakeLists.txt
浏览文件 @
9696f102
...
...
@@ -47,21 +47,32 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/launcher_test.py ${CMAKE_CURRENT_BINA
add_test
(
NAME plugin_test COMMAND plugin_test --report_level=detailed --color_output
)
add_test
(
NAME nodeos_sanity_test COMMAND tests/nodeos_run_test.py -v --sanity-test --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST nodeos_sanity_test PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME nodeos_run_test COMMAND tests/nodeos_run_test.py -v --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST nodeos_run_test PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME bnet_nodeos_run_test COMMAND tests/nodeos_run_test.py -v --clean-run --p2p-plugin bnet --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST bnet_nodeos_run_test PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME p2p_dawn515_test COMMAND tests/p2p_tests/dawn_515/test.sh WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST p2p_dawn515_test PROPERTY LABELS nonparallelizable_tests
)
if
(
BUILD_MONGO_DB_PLUGIN
)
add_test
(
NAME nodeos_run_test-mongodb COMMAND tests/nodeos_run_test.py --mongodb -v --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST nodeos_run_test PROPERTY LABELS nonparallelizable_tests
)
endif
()
add_test
(
NAME distributed-transactions-test COMMAND tests/distributed-transactions-test.py -d 2 -p 1 -n 4 -v --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST distributed-transactions-test PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME restart-scenarios-test-resync COMMAND tests/restart-scenarios-test.py -c resync -p4 -v --clean-run --dump-error-details WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST restart-scenarios-test-resync PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME restart-scenarios-test-hard_replay COMMAND tests/restart-scenarios-test.py -c hardReplay -p4 -v --clean-run --dump-error-details WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST restart-scenarios-test-hard_replay PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME restart-scenarios-test-none COMMAND tests/restart-scenarios-test.py -c none --kill-sig term -p4 -v --clean-run --dump-error-details WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST restart-scenarios-test-none PROPERTY LABELS nonparallelizable_tests
)
# TODO: add_test(NAME consensus-validation-malicious-producers COMMAND tests/consensus-validation-malicious-producers.py -w 80 --dump-error-details WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
add_test
(
NAME validate_dirty_db_test COMMAND tests/validate-dirty-db.py -v --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST validate_dirty_db_test PROPERTY LABELS nonparallelizable_tests
)
add_test
(
NAME launcher_test COMMAND tests/launcher_test.py -v --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
set_property
(
TEST launcher_test PROPERTY LABELS nonparallelizable_tests
)
# Long running tests
add_test
(
NAME nodeos_sanity_lr_test COMMAND tests/nodeos_run_test.py -v --sanity-test --clean-run --dump-error-detail WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录