From e147472e2ecb2a5dc01cf4d964d5dad57634c2b2 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Mon, 7 Jan 2019 12:53:39 +0530 Subject: [PATCH] Making autotuning.enabled to true for running tuning related tests (#501) Squashed commit of the following: * Making autotuning.enabled to true for running tuning related tests (#501) * Update .travis.yml * Updating baseline for coverage * Using TRAVIS_BUILD_DIR for pso script path * Adding PSO_DIR_PATH as env variable in travis.yml for testing * Update AutoTuningConf.xml --- .travis.yml | 3 +++ jacoco.sbt | 12 ++++++------ test/resources/AutoTuningConf.xml | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e7cf30485..540cb8602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,7 @@ script: branches: only: - master + +env: + - PSO_DIR_PATH=$TRAVIS_BUILD_DIR/scripts/pso/ diff --git a/jacoco.sbt b/jacoco.sbt index 3c9976393..d5abede8f 100644 --- a/jacoco.sbt +++ b/jacoco.sbt @@ -20,12 +20,12 @@ import de.johoop.jacoco4sbt._ // Baselining coverage thresholds to current coverage values so that build fails with any drop in coverage jacoco.settings ++ Seq( jacoco.thresholds in jacoco.Config := Thresholds( - instruction = 51, - method = 50, - branch = 34, - complexity = 35, - line = 53, - clazz = 79) + instruction = 62, + method = 65, + branch = 41, + complexity = 47, + line = 62, + clazz = 81) ) parallelExecution in jacoco.Config := false diff --git a/test/resources/AutoTuningConf.xml b/test/resources/AutoTuningConf.xml index e2e6cacea..024ce0824 100644 --- a/test/resources/AutoTuningConf.xml +++ b/test/resources/AutoTuningConf.xml @@ -19,7 +19,7 @@ autotuning.enabled - false + true Auto Tuning is enabled or not @@ -58,4 +58,4 @@ - \ No newline at end of file +