aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-04-27 09:56:23 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-04-28 13:34:01 -0400
commite9db891b2c5b9979b20f347387705d9997e71fb8 (patch)
treedc9032faa2ef0fe4015b17a3ad16776559528d86 /cbt
parentf946be87b81cc9cb040ab5e3f8a5195a915ad1e4 (diff)
downloadcbt-e9db891b2c5b9979b20f347387705d9997e71fb8.tar.gz
cbt-e9db891b2c5b9979b20f347387705d9997e71fb8.tar.bz2
cbt-e9db891b2c5b9979b20f347387705d9997e71fb8.zip
propagate time taken from bash script into logger
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cbt b/cbt
index b83d7bc..5d02917 100755
--- a/cbt
+++ b/cbt
@@ -184,7 +184,7 @@ stage1 () {
then
log "Running JVM directly" $*
# -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost:5005
- java -cp $NAILGUN$TARGET cbt.NailgunLauncher "$CWD" $*
+ java -Xmx6072m -Xss10M -cp $NAILGUN$TARGET cbt.NailgunLauncher $(time_taken) "$CWD" $*
else
log "Running via nailgun." $*
for i in 0 1 2 3 4 5 6 7 8 9; do
@@ -207,7 +207,7 @@ stage1 () {
sleep 0.3
done
log "Running CBT via Nailgun." $*
- $NG cbt.NailgunLauncher "$CWD" $*
+ $NG cbt.NailgunLauncher $(time_taken) "$CWD" $*
fi
exitCode=$?
log "Done running CBT." $*