Merge pull request #32 from danrmiller/kovri-tests

run tests and benchmarks
This commit is contained in:
luigi1111 2017-01-02 14:54:39 -06:00 committed by GitHub
commit 93fa0c4237

View file

@ -228,17 +228,22 @@ kovriAllFactory = util.BuildFactory()
kovriAllFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) 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(command=["make", "all-options"]))
kovriAllFactory.addStep(steps.Compile(name="compile tests", command=["make", "tests"])) 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 = util.BuildFactory()
kovriArmFactory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) 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(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.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 = util.BuildFactory()
kovriUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) 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(command=["make", "coverage"]))
kovriUbuntu64Factory.addStep(steps.Compile(name="compile tests", command=["make", "coverage-tests"])) kovriUbuntu64Factory.addStep(steps.Compile(name="compile tests", command=["make", "coverage-tests"]))
kovriUbuntu64Factory.addStep(steps.Test(command=["./build/kovri-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']) addCoverallsUploadSteps(kovriUbuntu64Factory,repo_token=secrets['coveralls_token'])
kovriFreebsdFactory = util.BuildFactory() kovriFreebsdFactory = util.BuildFactory()
@ -246,18 +251,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(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.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(command=["./build/kovri-tests"]))
kovriFreebsdFactory.addStep(steps.Test(name="benchmark", command=["./build/kovri-benchmarks"]))
kovriMingw32Factory = util.BuildFactory() kovriMingw32Factory = util.BuildFactory()
kovriMingw32Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) 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(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.Compile(name="compile tests", command=["make", "tests"]))
kovriMingw32Factory.addStep(steps.Test(command=["kovri-tests.exe"], workdir="build/build")) 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 = util.BuildFactory()
kovriMingw64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/kovri.git', mode='full', submodules=True)) 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(command=["make", "all-options"],env={'MSYSTEM': "MINGW64"}))
kovriMingw64Factory.addStep(steps.Compile(name="compile tests", command=["make", "tests"])) 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(command=["kovri-tests.exe"], workdir="build/build"))
kovriMingw64Factory.addStep(steps.Test(name="banchmark", command=["kovri-benchmarks.exe"], workdir="build/build"))
coreUbuntu64Factory = util.BuildFactory() coreUbuntu64Factory = util.BuildFactory()
coreUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/monero-core.git', mode='full')) coreUbuntu64Factory.addStep(steps.Git(repourl='https://github.com/monero-project/monero-core.git', mode='full'))