summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-08-18 08:48:13 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-08-18 09:37:26 +0100
commitef75e05203db2e675990fe303d726f5be63c5d75 (patch)
tree30ccc29e9da44254f64047cf64dfa9390d32ad81
parent862bb4aa27a0aa754527ae9aae6e2360211831d6 (diff)
tests/atlantis: Increase timeout
Atlantis has a long load time (at least on my Braswell system, nearly 50s) so to get enough frames we have to increase the timeout. What would be nice would be to pass a set number of frames to capture to libframetime.
-rw-r--r--tests.d/mesa/ue4-atlantis.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.d/mesa/ue4-atlantis.test b/tests.d/mesa/ue4-atlantis.test
index e39215b..f779864 100644
--- a/tests.d/mesa/ue4-atlantis.test
+++ b/tests.d/mesa/ue4-atlantis.test
@@ -1,5 +1,5 @@
test_name="ue4:atlantis:window ue4:atlantis:fullscreen"
-test_exec_time=60
+test_exec_time=120
# WARNING: Requires libframetime: https://github.com/clbr/libframetime
@@ -17,7 +17,7 @@ ue4:atlantis:fullscreen_run() {
rm -f /tmp/frametime.log
LIBFRAMETIME_FILE=/tmp/frametime.log LD_PRELOAD=$LIBFRAMETIME64_SO \
- vblank_mode=0 $frametime timeout 60 \
+ vblank_mode=0 $frametime timeout 120 \
./Atlantis-Linux-Shipping -NOSOUND -BENCHMARK $resolution > /dev/null
# read back the result, skip the first frames since they are the loading frames
@@ -36,7 +36,7 @@ ue4:atlantis:window_run() {
rm -f /tmp/frametime.log
LIBFRAMETIME_FILE=/tmp/frametime.log LD_PRELOAD=$LIBFRAMETIME64_SO \
- vblank_mode=0 $frametime taskset 1 timeout 60 \
+ vblank_mode=0 $frametime taskset 1 timeout 120 \
./Atlantis-Linux-Shipping -NOSOUND -BENCHMARK $resolution > /dev/null
# read back the result, skip the first frames since they are the loading frames