diff options
Diffstat (limited to 'tests.d/mesa/unigine-valley.test')
-rw-r--r-- | tests.d/mesa/unigine-valley.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests.d/mesa/unigine-valley.test b/tests.d/mesa/unigine-valley.test index a56b3c2..87b8f46 100644 --- a/tests.d/mesa/unigine-valley.test +++ b/tests.d/mesa/unigine-valley.test @@ -3,10 +3,11 @@ test -e "$UNIGINE_VALLEY_FOLDER/bin/valley_x64" || return 1 test -e "$LIBFRAMETIME64_SO" || return 1 +# 3 arguments: $rounds $fps_logs_file $runID unigine:valley_run() { cd "$UNIGINE_VALLEY_FOLDER" # Set this variable in test_options.sh - for (( c=0; c<$1; c++ )); do + for (( c=$3; c<$1+$3; c++ )); do rm -f /tmp/frametime.log LIBFRAMETIME_FILE=/tmp/frametime.log LD_PRELOAD=$LIBFRAMETIME64_SO \ @@ -28,6 +29,7 @@ unigine:valley_run() { done } +# 3 arguments: $rounds $fps_logs_file $runID unigine:valley:cpu_run() { INTEL_NO_HW=1 unigine:valley_run $@; } test_name="unigine:valley unigine:valley:cpu" |