This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select * from buildgroup; | |
+----+--------------+-----------+---------------------+---------------------+---------------------+---------------------+--------------+-----------------------+-----------------+--------+ | |
| id | name | projectid | starttime | endtime | autoremovetimeframe | description | summaryemail | includesubprojectotal | emailcommitters | type | | |
+----+--------------+-----------+---------------------+---------------------+---------------------+---------------------+--------------+-----------------------+-----------------+--------+ | |
| 1 | Nightly | 1 | 1980-01-01 00:00:00 | 1980-01-01 00:00:00 | 0 | Nightly builds | 0 | 1 | 0 | Daily | | |
| 2 | Continuous | 1 | 1980-01-01 00:00:00 | 1980-01-01 00:00:00 | 0 | Continuous builds | 0 | 1 | 0 | Daily | | |
| 3 | Experimental | 1 | 1980-01-01 00:00: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run dashboard with model Buildbot | |
Source directory: /buildbot/b-insight-test/build | |
Build directory: /buildbot/b-insight-test/build/../insight-build-ctest | |
Reading ctest configuration file: /buildbot/b-insight-test/build/CTestConfig.cmake | |
Site: buildbot-w-xenial-4 | |
Build name: b-insight-test-6-master-0.5.2-237-g0cd6b8f | |
Use Experimental tag: 20170921-0710 | |
Configure project | |
Each . represents 1024 bytes of output | |
.. Size of output: 1K |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
project(testcase) | |
enable_testing() | |
add_executable(fail fail.cpp) | |
add_test(fail fail) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include(CTestCoverageCollectGCOV) | |
set(CTEST_SOURCE_DIRECTORY ${CTEST_SCRIPT_DIRECTORY}) | |
set(CTEST_BINARY_DIRECTORY ${CTEST_SCRIPT_DIRECTORY}/../insight-build-ctest) | |
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | |
set(CTEST_COVERAGE_COMMAND "gcov") | |
list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE ".*/moc_.*" ".*/ui_.*" ".*/tests/.*") | |
list(APPEND CTEST_EXTRA_COVERAGE_GLOB "*.cpp" "*.h") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[estan@newton insight (master *+$%=)]$ ctest -DCTEST_SITE="localhost" -DCTEST_BUILD_NAME="newton-kubuntu-x64" -V -S CTestScript.cmake | |
Run dashboard with model Experimental | |
Source directory: /home/estan/orexplore/insight | |
Build directory: /home/estan/orexplore/insight/../insight-build-ctest | |
Reading ctest configuration file: /home/estan/orexplore/insight/CTestConfig.cmake | |
Site: localhost | |
Build name: newton-kubuntu-x64 | |
Use Experimental tag: 20170919-1226 | |
Configure project | |
Each . represents 1024 bytes of output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================= | |
==6632==ERROR: LeakSanitizer: detected memory leaks | |
Direct leak Direct leak of 64 byte(s) in 1 object(s) allocated from: | |
#0 0x7fdc59baf602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) | |
#1 0x7fdc4c75398a () | |
Direct leak Direct leak of 26 byte(s) in 1 object(s) allocated from: | |
#0 0x7fdc59baf602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) | |
#1 0x7fdc4c747dd8 () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -ti opensuse:latest /bin/bash | |
zypper refresh | |
zypper install cmake curl | |
mkdir testcase | |
cd testcase | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/CMakeLists.txt | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/CTestScript.cmake | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/test.cpp | |
ctest -DCTEST_SITE="localhost" -DCTEST_BUILD_NAME="test-build" -VV -S CTestScript.cmake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -ti ubuntu:16.04 /bin/bash | |
apt update && apt install cmake curl | |
mkdir testcase | |
cd testcase | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/CMakeLists.txt | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/CTestScript.cmake | |
curl -O https://gist.githubusercontent.com/estan/90b8c55f98ba746e0869566a0d31a210/raw/f4173f2599d149837b4e9f7ddf9e73b952338046/test.cpp | |
ctest -DCTEST_SITE="localhost" -DCTEST_BUILD_NAME="test-build" -VV -S CTestScript.cmake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
project(testcase) | |
add_executable(testcase test.cpp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UploadArtifacts(BuildStep, CompositeStepMixin): | |
src = None | |
host = None | |
path = None | |
url = None | |
logEnviron = False | |
renderables = ['src', 'path', 'url'] | |
def __init__(self, src, host, path, url=None, workdir=None, **kwargs): |