diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2015-07-20 11:13:37 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-07-20 11:13:37 +0300 |
commit | ee7e8228587080d1e2abe1948006edd7afc24e74 (patch) | |
tree | b0cdc44f331b2e6660bd27e8eac88b99a2d220a0 /tests.d | |
parent | 28d408b27191e5f94f5c4ee1761c4c509be354ee (diff) |
tests: move out the DISPLAY override out of the tests
This should be done in the init hook!
Diffstat (limited to 'tests.d')
-rw-r--r-- | tests.d/glxgears.test | 2 | ||||
-rw-r--r-- | tests.d/synmark.test | 2 | ||||
-rw-r--r-- | tests.d/ue4-reflections.test | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests.d/glxgears.test b/tests.d/glxgears.test index d44591d..ffa7f8f 100644 --- a/tests.d/glxgears.test +++ b/tests.d/glxgears.test @@ -4,6 +4,6 @@ test_exec_time=21 glxgears_run() { for (( c=0; c<$1; c++ )) do - DISPLAY=:0 vblank_mode=0 timeout 21 glxgears 2> /dev/null | grep FPS | cut -d ' ' -f 7 + vblank_mode=0 timeout 21 glxgears 2> /dev/null | grep FPS | cut -d ' ' -f 7 done } diff --git a/tests.d/synmark.test b/tests.d/synmark.test index fd7b00e..4587535 100644 --- a/tests.d/synmark.test +++ b/tests.d/synmark.test @@ -6,6 +6,6 @@ synmark-oglbatch7_run() { for (( c=0; c<$1; c++ )) do - DISPLAY=:0 ./synmark2 OglBatch7 2> /dev/null | grep FPS | cut -d ' ' -f 2 + ./synmark2 OglBatch7 2> /dev/null | grep FPS | cut -d ' ' -f 2 done } diff --git a/tests.d/ue4-reflections.test b/tests.d/ue4-reflections.test index d612b61..cba5ef1 100644 --- a/tests.d/ue4-reflections.test +++ b/tests.d/ue4-reflections.test @@ -10,7 +10,7 @@ ue4-reflections_run() { for (( c=0; c<$1; c++ )) do - DISPLAY=:0 vblank_mode=0 LIBFRAMETIME_FILE=/tmp/frametime.log LD_PRELOAD=$LIBFRAMETIME64_SO taskset 1 timeout $test_exec_time ./ReflectionsSubway -NOSOUND -ResX=$UE4_WINDOW_SIZE_X -ResY=$UE4_WINDOW_SIZE_Y -BENCHMARK > /dev/null 2>&1 + vblank_mode=0 LIBFRAMETIME_FILE=/tmp/frametime.log LD_PRELOAD=$LIBFRAMETIME64_SO taskset 1 timeout $test_exec_time ./ReflectionsSubway -NOSOUND -ResX=$UE4_WINDOW_SIZE_X -ResY=$UE4_WINDOW_SIZE_Y -BENCHMARK > /dev/null 2>&1 done # read back the result, skip the first frames since they are the loading frames |