Use prepared scripts from build folder in tests.

This commit is contained in:
Marco Vermeulen
2012-11-17 10:41:07 +00:00
parent d1c6f5008f
commit cd797bb30d
3 changed files with 3 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ import org.apache.tools.ant.filters.*
apply plugin: 'groovy'
defaultTasks 'clean', 'prepareScripts', 'assembleArchive'
defaultTasks 'clean', 'prepareScripts', 'assembleArchive', 'test'
repositories {
mavenCentral()

View File

@@ -2,4 +2,4 @@
export JAVA_HOME=$(/usr/libexec/java_home -v1.7)
export GVM_SERVICE="http://localhost:8080"
export GVM_DIR="/tmp/gvm"
./gradlew -i clean test
./gradlew -i

View File

@@ -1,7 +1,7 @@
import static cucumber.runtime.groovy.Hooks.*
import static gvm.VertxUtils.*
baseDir = new File("srv/scripts")
baseDir = new File("build/scripts")
gvmDirEnv = System.getenv('GVM_DIR')
if (! gvmDirEnv) {
@@ -17,8 +17,6 @@ gvmDir = new File("${gvmDirEnv}")
varDir = new File("${gvmDirEnv}/var")
broadcastFile = new File("${gvmDirEnv}/var/broadcast")
scriptPath = 'srv/scripts'
server = null
Before(){