Stop calling rand() in debug-only code for GLProgramsTest
Stop calling rand() in debug-only code for GLProgramsTest

R=egdaniel@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/584913002

nvoron23/skia,AOSP-YU/platform_external_skia,noselhq/skia,timduru/platform-external-skia,vanish87/skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,scroggo/skia,geekboxzone/mmallow_external_skia,google/skia,nvoron23/skia,PAC-ROM/android_external_skia,rubenvb/skia,tmpvar/skia.cc,google/skia,google/skia,YUPlayGodDev/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,timduru/platform-external-skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,mydongistiny/external_chromium_org_third_party_skia,vanish87/skia,BrokenROM/external_skia,ominux/skia,scroggo/skia,PAC-ROM/android_external_skia,HalCanary/skia-hc,MIPS/external-chromium_org-third_party-skia,chenlian2015/skia_from_google,boulzordev/android_external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,ominux/skia,geekboxzone/mmallow_external_skia,TeamExodus/external_skia,MyAOSP/external_chromium_org_third_party_skia,rubenvb/skia,boulzordev/android_external_skia,shahrzadmn/skia,shahrzadmn/skia,samuelig/skia,Igalia/skia,DARKPOP/external_chromium_org_third_party_skia,Jichao/skia,mydongistiny/external_chromium_org_third_party_skia,TeamTwisted/external_skia,android-ia/platform_external_chromium_org_third_party_skia,MarshedOut/android_external_skia,PAC-ROM/android_external_skia,samuelig/skia,chenlian2015/skia_from_google,FusionSP/external_chromium_org_third_party_skia,ominux/skia,Fusion-Rom/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,AOSPB/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,w3nd1go/android_external_skia,FusionSP/external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,pcwalton/skia,w3nd1go/android_external_skia,Jichao/skia,amyvmiwei/skia,scroggo/skia,UBERMALLOW/external_skia,TeamEOS/external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,google/skia,FusionSP/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,OneRom/external_skia,TeamTwisted/external_skia,mydongistiny/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,AOSPB/external_skia,vanish87/skia,todotodoo/skia,OneRom/external_skia,TeamExodus/external_skia,DARKPOP/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,TeamExodus/external_skia,MarshedOut/android_external_skia,google/skia,samuelig/skia,vanish87/skia,invisiblek/android_external_skia,todotodoo/skia,chenlian2015/skia_from_google,Hikari-no-Tenshi/android_external_skia,BrokenROM/external_skia,Jichao/skia,MinimalOS/external_chromium_org_third_party_skia,nvoron23/skia,scroggo/skia,DiamondLovesYou/skia-sys,TeamEOS/external_chromium_org_third_party_skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,Igalia/skia,DARKPOP/external_chromium_org_third_party_skia,shahrzadmn/skia,w3nd1go/android_external_skia,FusionSP/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,nfxosp/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,Igalia/skia,Omegaphora/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,rubenvb/skia,android-ia/platform_external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,TeamTwisted/external_skia,geekboxzone/mmallow_external_skia,MyAOSP/external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,AOSPB/external_skia,todotodoo/skia,noselhq/skia,chenlian2015/skia_from_google,Fusion-Rom/external_chromium_org_third_party_skia,Igalia/skia,amyvmiwei/skia,MarshedOut/android_external_skia,Infinitive-OS/platform_external_skia,HalCanary/skia-hc,invisiblek/android_external_skia,chenlian2015/skia_from_google,OptiPop/external_chromium_org_third_party_skia,google/skia,MonkeyZZZZ/platform_external_skia,VRToxin-AOSP/android_external_skia,ominux/skia,todotodoo/skia,TeamEOS/external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,UBERMALLOW/external_skia,amyvmiwei/skia,google/skia,HalCanary/skia-hc,geekboxzone/lollipop_external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,boulzordev/android_external_skia,jtg-gg/skia,MinimalOS/external_chromium_org_third_party_skia,PAC-ROM/android_external_skia,DiamondLovesYou/skia-sys,MonkeyZZZZ/platform_external_skia,OneRom/external_skia,AOSP-YU/platform_external_skia,noselhq/skia,DiamondLovesYou/skia-sys,invisiblek/android_external_skia,YUPlayGodDev/platform_external_skia,MinimalOS-AOSP/platform_external_skia,MIPS/external-chromium_org-third_party-skia,nvoron23/skia,MinimalOS-AOSP/platform_external_skia,VRToxin-AOSP/android_external_skia,nfxosp/platform_external_skia,MarshedOut/android_external_skia,invisiblek/android_external_skia,ominux/skia,MinimalOS-AOSP/platform_external_skia,HalCanary/skia-hc,MyAOSP/external_chromium_org_third_party_skia,vanish87/skia,MinimalOS/android_external_chromium_org_third_party_skia,Jichao/skia,HalCanary/skia-hc,mydongistiny/external_chromium_org_third_party_skia,w3nd1go/android_external_skia,samuelig/skia,BrokenROM/external_skia,mydongistiny/external_chromium_org_third_party_skia,rubenvb/skia,AOSP-YU/platform_external_skia,FusionSP/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,MinimalOS/external_chromium_org_third_party_skia,scroggo/skia,BrokenROM/external_skia,UBERMALLOW/external_skia,shahrzadmn/skia,TeamExodus/external_skia,MinimalOS/android_external_chromium_org_third_party_skia,todotodoo/skia,tmpvar/skia.cc,boulzordev/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,todotodoo/skia,FusionSP/external_chromium_org_third_party_skia,jtg-gg/skia,YUPlayGodDev/platform_external_skia,TeamTwisted/external_skia,MinimalOS/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,spezi77/android_external_skia,MIPS/external-chromium_org-third_party-skia,MinimalOS-AOSP/platform_external_skia,aosp-mirror/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,MinimalOS-AOSP/platform_external_skia,ench0/external_chromium_org_third_party_skia,pcwalton/skia,Omegaphora/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,Igalia/skia,chenlian2015/skia_from_google,TeamTwisted/external_skia,nfxosp/platform_external_skia,rubenvb/skia,jtg-gg/skia,Fusion-Rom/external_chromium_org_third_party_skia,OneRom/external_skia,YUPlayGodDev/platform_external_skia,UBERMALLOW/external_skia,invisiblek/android_external_skia,tmpvar/skia.cc,DARKPOP/external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,noselhq/skia,ominux/skia,TeamTwisted/external_skia,boulzordev/android_external_skia,MinimalOS-AOSP/platform_external_skia,spezi77/android_external_skia,VRToxin-AOSP/android_external_skia,qrealka/skia-hc,geekboxzone/mmallow_external_skia,qrealka/skia-hc,MinimalOS-AOSP/platform_external_skia,noselhq/skia,MyAOSP/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,tmpvar/skia.cc,Jichao/skia,AOSPB/external_skia,shahrzadmn/skia,DARKPOP/external_chromium_org_third_party_skia,nvoron23/skia,AOSPB/external_skia,Omegaphora/external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,Igalia/skia,MinimalOS/external_chromium_org_third_party_skia,amyvmiwei/skia,mydongistiny/external_chromium_org_third_party_skia,tmpvar/skia.cc,spezi77/android_external_skia,pcwalton/skia,tmpvar/skia.cc,amyvmiwei/skia,boulzordev/android_external_skia,scroggo/skia,w3nd1go/android_external_skia,noselhq/skia,w3nd1go/android_external_skia,geekboxzone/mmallow_external_skia,timduru/platform-external-skia,UBERMALLOW/external_skia,AOSPB/external_skia,boulzordev/android_external_skia,Infinitive-OS/platform_external_skia,invisiblek/android_external_skia,pcwalton/skia,BrokenROM/external_skia,Omegaphora/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,vanish87/skia,MinimalOS/android_external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,nvoron23/skia,DiamondLovesYou/skia-sys,qrealka/skia-hc,HalCanary/skia-hc,OneRom/external_skia,noselhq/skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,rubenvb/skia,qrealka/skia-hc,invisiblek/android_external_skia,MIPS/external-chromium_org-third_party-skia,aosp-mirror/platform_external_skia,TeamTwisted/external_skia,OptiPop/external_chromium_org_third_party_skia,AOSPB/external_skia,UBERMALLOW/external_skia,android-ia/platform_external_chromium_org_third_party_skia,MonkeyZZZZ/platform_external_skia,Hikari-no-Tenshi/android_external_skia,nfxosp/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,ominux/skia,nfxosp/platform_external_skia,HalCanary/skia-hc,timduru/platform-external-skia,BrokenROM/external_skia,MinimalOS/android_external_chromium_org_third_party_skia,tmpvar/skia.cc,invisiblek/android_external_skia,timduru/platform-external-skia,chenlian2015/skia_from_google,BrokenROM/external_skia,Igalia/skia,MIPS/external-chromium_org-third_party-skia,Fusion-Rom/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,todotodoo/skia,PAC-ROM/android_external_skia,AOSP-YU/platform_external_skia,aosp-mirror/platform_external_skia,noselhq/skia,YUPlayGodDev/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,pcwalton/skia,TeamEOS/external_chromium_org_third_party_skia,jtg-gg/skia,MarshedOut/android_external_skia,OneRom/external_skia,nfxosp/platform_external_skia,VRToxin-AOSP/android_external_skia,Hikari-no-Tenshi/android_external_skia,samuelig/skia,todotodoo/skia,TeamEOS/external_chromium_org_third_party_skia,qrealka/skia-hc,MinimalOS/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,VRToxin-AOSP/android_external_skia,Infinitive-OS/platform_external_skia,VRToxin-AOSP/android_external_skia,Infinitive-OS/platform_external_skia,ominux/skia,DiamondLovesYou/skia-sys,TeamTwisted/external_skia,nfxosp/platform_external_skia,pcwalton/skia,TeamExodus/external_skia,Jichao/skia,vanish87/skia,Omegaphora/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,HalCanary/skia-hc,OneRom/external_skia,geekboxzone/mmallow_external_skia,ench0/external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,rubenvb/skia,w3nd1go/android_external_skia,qrealka/skia-hc,samuelig/skia,MinimalOS-AOSP/platform_external_skia,jtg-gg/skia,tmpvar/skia.cc,rubenvb/skia,todotodoo/skia,pcwalton/skia,UBERMALLOW/external_skia,PAC-ROM/android_external_skia,TeamExodus/external_skia,nvoron23/skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,aosp-mirror/platform_external_skia,AOSP-YU/platform_external_skia,w3nd1go/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,qrealka/skia-hc,android-ia/platform_external_chromium_org_third_party_skia,spezi77/android_external_skia,ench0/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,Infinitive-OS/platform_external_skia,tmpvar/skia.cc,rubenvb/skia,aosp-mirror/platform_external_skia,scroggo/skia,MinimalOS-AOSP/platform_external_skia,VRToxin-AOSP/android_external_skia,w3nd1go/android_external_skia,shahrzadmn/skia,Omegaphora/external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,OneRom/external_skia,jtg-gg/skia,OneRom/external_skia,Hikari-no-Tenshi/android_external_skia,boulzordev/android_external_skia,android-ia/platform_external_chromium_org_third_party_skia,google/skia,TeamTwisted/external_skia,TeamExodus/external_skia,google/skia,ench0/external_chromium_org_third_party_skia,UBERMALLOW/external_skia,pcwalton/skia,Hikari-no-Tenshi/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,TeamExodus/external_skia,PAC-ROM/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,YUPlayGodDev/platform_external_skia,samuelig/skia,DARKPOP/external_chromium_org_third_party_skia,Jichao/skia,BrokenROM/external_skia,aosp-mirror/platform_external_skia,amyvmiwei/skia,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,Omegaphora/external_chromium_org_third_party_skia,Igalia/skia,PAC-ROM/android_external_skia,timduru/platform-external-skia,Omegaphora/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,MarshedOut/android_external_skia,UBERMALLOW/external_skia,shahrzadmn/skia,Fusion-Rom/external_chromium_org_third_party_skia,spezi77/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,amyvmiwei/skia,nvoron23/skia,DARKPOP/external_chromium_org_third_party_skia,ench0/external_chromium_org_third_party_skia,boulzordev/android_external_skia,noselhq/skia,spezi77/android_external_skia,DiamondLovesYou/skia-sys,qrealka/skia-hc,MyAOSP/external_chromium_org_third_party_skia,pcwalton/skia,geekboxzone/mmallow_external_skia,AOSP-YU/platform_external_skia,samuelig/skia,AOSPB/external_skia,shahrzadmn/skia,ominux/skia,jtg-gg/skia,MonkeyZZZZ/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,Jichao/skia,timduru/platform-external-skia,PAC-ROM/android_external_skia,vanish87/skia,AOSPB/external_skia,MyAOSP/external_chromium_org_third_party_skia,scroggo/skia,MinimalOS/android_external_chromium_org_third_party_skia,nfxosp/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,geekboxzone/mmallow_external_skia,Jichao/skia,MIPS/external-chromium_org-third_party-skia,vanish87/skia,MIPS/external-chromium_org-third_party-skia,DARKPOP/external_chromium_org_third_party_skia,amyvmiwei/skia,shahrzadmn/skia,MarshedOut/android_external_skia,geekboxzone/mmallow_external_skia,MonkeyZZZZ/platform_external_skia