Browse Source

Trying to keep the envvars through run-tests

msmith-techempower 10 years ago
parent
commit
29f6ed8121

+ 4 - 4
config/benchmark_profile

@@ -12,12 +12,12 @@ IROOT=${FWROOT}/installs
 
 
 # Determine which OS we are using and set the appropriate variables
 # Determine which OS we are using and set the appropriate variables
 source /etc/lsb-release
 source /etc/lsb-release
-UBUNTU12=0
-UBUNTU14=0
+TFB_UBUNTU12=0
+TFB_UBUNTU14=0
 if [[ $DISTRIB_RELEASE == 14.* ]]; then
 if [[ $DISTRIB_RELEASE == 14.* ]]; then
-  UBUNTU14=1
+  TFB_UBUNTU14=1
 elif [[ $DISTRIB_RELEASE == 12.* ]]; then
 elif [[ $DISTRIB_RELEASE == 12.* ]]; then
-  UBUNTU12=1
+  TFB_UBUNTU12=1
 fi
 fi
 
 
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64

+ 1 - 1
toolset/setup/linux/database.sh

@@ -86,7 +86,7 @@ rm create.sql
 # Postgres
 # Postgres
 ##############################
 ##############################
 echo "Setting up Postgres database"
 echo "Setting up Postgres database"
-if [ $UBUNTU12 -eq 1 ]; then
+if [ $TFB_UBUNTU12 -eq 1 ]; then
   echo "WARNING: Force upgrading Postgres for Ubuntu 12.04"
   echo "WARNING: Force upgrading Postgres for Ubuntu 12.04"
   sudo apt-get remove -y postgresql postgresql-9.1 postgresql-client-9.1
   sudo apt-get remove -y postgresql postgresql-9.1 postgresql-client-9.1
 
 

+ 2 - 2
toolset/setup/linux/frameworks/wt.sh

@@ -21,9 +21,9 @@ RETCODE=$(fw_exists wt)
 # Instead of compiling from source, just use apt to install onto 
 # Instead of compiling from source, just use apt to install onto 
 # host machine
 # host machine
 source /etc/lsb-release
 source /etc/lsb-release
-if [ $UBUNTU14 -eq 1 ]; then
+if [ $TFB_UBUNTU14 -eq 1 ]; then
     sudo apt-get -y install libboost1.54-all-dev
     sudo apt-get -y install libboost1.54-all-dev
-elif [ $UBUNTU12 -eq 1 ]; then
+elif [ $TFB_UBUNTU12 -eq 1 ]; then
     sudo apt-get -y install libboost1.48-all-dev
     sudo apt-get -y install libboost1.48-all-dev
 fi
 fi