glexec test - calculate average