From 2c7928ebbb136e933b4c5b89d07bc6f40069bc16 Mon Sep 17 00:00:00 2001 From: Pigeons Date: Thu, 22 Dec 2016 21:52:28 -0800 Subject: [PATCH] run tests and benchmarks --- buildbot/master/master.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildbot/master/master.cfg b/buildbot/master/master.cfg index 98fce47..52b5468 100644 --- a/buildbot/master/master.cfg +++ b/buildbot/master/master.cfg @@ -213,17 +213,22 @@ kovriAllFactory = util.BuildFactory() kovriAllFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) kovriAllFactory.addStep(steps.Compile(command=["make", "all-options"])) kovriAllFactory.addStep(steps.Compile(name="compile tests", command=["make", "tests"])) +kovriAllFactory.addStep(steps.Test(command=["./build/kovri-tests"])) +kovriAllFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"])) kovriArmFactory = util.BuildFactory() kovriArmFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) kovriArmFactory.addStep(steps.Compile(command=["make", "all-options"], env={'CC': 'clang35', 'CXX': 'clang++35'})) kovriArmFactory.addStep(steps.Compile(name="compile tests", command=["make", "tests"], env={'CC': 'clang35', 'CXX': 'clang++35'})) +kovriArmFactory.addStep(steps.Test(command=["./build/kovri-tests"])) +kovriArmFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"])) kovriUbuntu64Factory = util.BuildFactory() kovriUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) kovriUbuntu64Factory.addStep(steps.Compile(command=["make", "coverage"])) kovriUbuntu64Factory.addStep(steps.Compile(name="compile tests", command=["make", "coverage-tests"])) kovriUbuntu64Factory.addStep(steps.Test(command=["./build/kovri-tests"])) +kovriUbuntu64Factory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"])) addCoverallsUploadSteps(kovriUbuntu64Factory,repo_token=secrets['coveralls_token']) kovriFreebsdFactory = util.BuildFactory() @@ -231,18 +236,21 @@ kovriFreebsdFactory.addStep(steps.Git(repourl='https://github.com/monero-project kovriFreebsdFactory.addStep(steps.Compile(command=["gmake", "all-options"], env={'CC': 'clang36', 'CXX': 'clang++36'})) kovriFreebsdFactory.addStep(steps.Compile(name="compile tests", command=["gmake", "tests"], env={'CC': 'clang36', 'CXX': 'clang++36'})) kovriFreebsdFactory.addStep(steps.Test(command=["./build/kovri-tests"])) +kovriFreebsdFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"])) kovriMingw32Factory = util.BuildFactory() kovriMingw32Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) kovriMingw32Factory.addStep(steps.Compile(command=["/msys32/usr/bin/bash.exe","-c", "make", "all-options"],env={'MSYSTEM': "MINGW32"})) kovriMingw32Factory.addStep(steps.Compile(name="compile tests", command=["make", "tests"])) kovriMingw32Factory.addStep(steps.Test(command=["kovri-tests.exe"], workdir="build/build")) +kovriMingw32Factory.addStep(steps.Test(name="banchmark", command=["kovri-benchmarks.exe"], workdir="build/build")) kovriMingw64Factory = util.BuildFactory() kovriMingw64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) kovriMingw64Factory.addStep(steps.Compile(command=["make", "all-options"],env={'MSYSTEM': "MINGW64"})) kovriMingw64Factory.addStep(steps.Compile(name="compile tests", command=["make", "tests"])) kovriMingw64Factory.addStep(steps.Test(command=["kovri-tests.exe"], workdir="build/build")) +kovriMingw64Factory.addStep(steps.Test(name="banchmark", command=["kovri-benchmarks.exe"], workdir="build/build")) coreUbuntu64Factory = util.BuildFactory() coreUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/monero-core.git', mode='full'))