[test] Deduplicate shared logic between OS X and the simulators.
[test] Deduplicate shared logic between OS X and the simulators.

These might need to diverge at some point, but for now it's better to
have fewer places to change things. No intended behavior change.

ken0nek/swift,jckarter/swift,danielmartin/swift,aschwaighofer/swift,djwbrown/swift,swiftix/swift,allevato/swift,calebd/swift,djwbrown/swift,atrick/swift,apple/swift,gmilos/swift,tardieu/swift,ben-ng/swift,austinzheng/swift,zisko/swift,xedin/swift,nathawes/swift,shahmishal/swift,tkremenek/swift,atrick/swift,bitjammer/swift,amraboelela/swift,return/swift,deyton/swift,CodaFi/swift,practicalswift/swift,gregomni/swift,deyton/swift,shajrawi/swift,ben-ng/swift,ben-ng/swift,shajrawi/swift,frootloops/swift,bitjammer/swift,xwu/swift,tinysun212/swift-windows,amraboelela/swift,therealbnut/swift,bitjammer/swift,deyton/swift,aschwaighofer/swift,karwa/swift,shajrawi/swift,IngmarStein/swift,parkera/swift,parkera/swift,jckarter/swift,kperryua/swift,allevato/swift,roambotics/swift,tjw/swift,zisko/swift,alblue/swift,calebd/swift,natecook1000/swift,therealbnut/swift,jmgc/swift,karwa/swift,sschiau/swift,brentdax/swift,adrfer/swift,kstaring/swift,bitjammer/swift,practicalswift/swift,gmilos/swift,KrishMunot/swift,slavapestov/swift,felix91gr/swift,OscarSwanros/swift,JaSpa/swift,return/swift,dduan/swift,stephentyrone/swift,lorentey/swift,adrfer/swift,allevato/swift,tjw/swift,return/swift,shahmishal/swift,gottesmm/swift,OscarSwanros/swift,sschiau/swift,jmgc/swift,gribozavr/swift,xwu/swift,calebd/swift,return/swift,milseman/swift,devincoughlin/swift,therealbnut/swift,return/swift,IngmarStein/swift,gribozavr/swift,uasys/swift,OscarSwanros/swift,johnno1962d/swift,xedin/swift,gmilos/swift,allevato/swift,uasys/swift,JaSpa/swift,stephentyrone/swift,tkremenek/swift,atrick/swift,jopamer/swift,tardieu/swift,arvedviehweger/swift,slavapestov/swift,dduan/swift,huonw/swift,benlangmuir/swift,alblue/swift,alblue/swift,jtbandes/swift,jmgc/swift,glessard/swift,ken0nek/swift,Jnosh/swift,CodaFi/swift,devincoughlin/swift,stephentyrone/swift,huonw/swift,JGiola/swift,jmgc/swift,milseman/swift,IngmarStein/swift,modocache/swift,dduan/swift,austinzheng/swift,jckarter/swift,felix91gr/swift,lorentey/swift,hooman/swift,deyton/swift,huonw/swift,stephentyrone/swift,rudkx/swift,deyton/swift,tardieu/swift,frootloops/swift,huonw/swift,kstaring/swift,modocache/swift,karwa/swift,devincoughlin/swift,hughbe/swift,jckarter/swift,Jnosh/swift,danielmartin/swift,kstaring/swift,tjw/swift,jtbandes/swift,modocache/swift,kperryua/swift,jopamer/swift,aschwaighofer/swift,harlanhaskins/swift,airspeedswift/swift,tjw/swift,arvedviehweger/swift,jopamer/swift,felix91gr/swift,devincoughlin/swift,gregomni/swift,natecook1000/swift,codestergit/swift,natecook1000/swift,jopamer/swift,nathawes/swift,sschiau/swift,codestergit/swift,tinysun212/swift-windows,jmgc/swift,dduan/swift,IngmarStein/swift,slavapestov/swift,jtbandes/swift,alblue/swift,gribozavr/swift,johnno1962d/swift,jmgc/swift,brentdax/swift,bitjammer/swift,therealbnut/swift,russbishop/swift,lorentey/swift,nathawes/swift,frootloops/swift,lorentey/swift,bitjammer/swift,benlangmuir/swift,austinzheng/swift,roambotics/swift,devincoughlin/swift,harlanhaskins/swift,amraboelela/swift,jtbandes/swift,gottesmm/swift,karwa/swift,stephentyrone/swift,modocache/swift,practicalswift/swift,ken0nek/swift,milseman/swift,nathawes/swift,tkremenek/swift,tardieu/swift,deyton/swift,ben-ng/swift,shahmishal/swift,SwiftAndroid/swift,shahmishal/swift,arvedviehweger/swift,felix91gr/swift,russbishop/swift,shajrawi/swift,kperryua/swift,allevato/swift,OscarSwanros/swift,austinzheng/swift,gmilos/swift,gmilos/swift,Jnosh/swift,ahoppen/swift,atrick/swift,shahmishal/swift,xwu/swift,zisko/swift,harlanhaskins/swift,hooman/swift,rudkx/swift,aschwaighofer/swift,OscarSwanros/swift,tardieu/swift,ahoppen/swift,apple/swift,danielmartin/swift,aschwaighofer/swift,sschiau/swift,ken0nek/swift,gottesmm/swift,rudkx/swift,sschiau/swift,frootloops/swift,xwu/swift,calebd/swift,tkremenek/swift,lorentey/swift,apple/swift,johnno1962d/swift,hooman/swift,ken0nek/swift,rudkx/swift,austinzheng/swift,codestergit/swift,gottesmm/swift,JGiola/swift,uasys/swift,calebd/swift,tinysun212/swift-windows,stephentyrone/swift,aschwaighofer/swift,ben-ng/swift,natecook1000/swift,amraboelela/swift,lorentey/swift,swiftix/swift,xwu/swift,jopamer/swift,austinzheng/swift,apple/swift,airspeedswift/swift,felix91gr/swift,tardieu/swift,karwa/swift,djwbrown/swift,gribozavr/swift,frootloops/swift,hooman/swift,ken0nek/swift,lorentey/swift,kstaring/swift,xedin/swift,swiftix/swift,alblue/swift,practicalswift/swift,xedin/swift,natecook1000/swift,kstaring/swift,arvedviehweger/swift,russbishop/swift,manavgabhawala/swift,Jnosh/swift,amraboelela/swift,hughbe/swift,roambotics/swift,apple/swift,xedin/swift,shajrawi/swift,JaSpa/swift,KrishMunot/swift,tardieu/swift,jckarter/swift,milseman/swift,atrick/swift,airspeedswift/swift,slavapestov/swift,adrfer/swift,danielmartin/swift,devincoughlin/swift,kperryua/swift,gribozavr/swift,slavapestov/swift,johnno1962d/swift,SwiftAndroid/swift,tinysun212/swift-windows,glessard/swift,KrishMunot/swift,codestergit/swift,slavapestov/swift,return/swift,russbishop/swift,felix91gr/swift,xedin/swift,adrfer/swift,therealbnut/swift,JGiola/swift,adrfer/swift,benlangmuir/swift,ahoppen/swift,KrishMunot/swift,SwiftAndroid/swift,jmgc/swift,johnno1962d/swift,bitjammer/swift,benlangmuir/swift,felix91gr/swift,parkera/swift,zisko/swift,tinysun212/swift-windows,sschiau/swift,allevato/swift,johnno1962d/swift,codestergit/swift,tinysun212/swift-windows,russbishop/swift,gottesmm/swift,JaSpa/swift,dduan/swift,adrfer/swift,zisko/swift,alblue/swift,nathawes/swift,allevato/swift,therealbnut/swift,shahmishal/swift,gregomni/swift,brentdax/swift,KrishMunot/swift,manavgabhawala/swift,airspeedswift/swift,huonw/swift,djwbrown/swift,SwiftAndroid/swift,djwbrown/swift,uasys/swift,CodaFi/swift,therealbnut/swift,uasys/swift,milseman/swift,harlanhaskins/swift,gmilos/swift,airspeedswift/swift,parkera/swift,gmilos/swift,harlanhaskins/swift,milseman/swift,kstaring/swift,shahmishal/swift,airspeedswift/swift,JGiola/swift,kperryua/swift,roambotics/swift,JaSpa/swift,swiftix/swift,uasys/swift,ken0nek/swift,gottesmm/swift,gregomni/swift,tkremenek/swift,CodaFi/swift,ahoppen/swift,brentdax/swift,xedin/swift,zisko/swift,gribozavr/swift,shahmishal/swift,CodaFi/swift,modocache/swift,nathawes/swift,glessard/swift,JGiola/swift,roambotics/swift,codestergit/swift,gribozavr/swift,JaSpa/swift,parkera/swift,hooman/swift,russbishop/swift,russbishop/swift,johnno1962d/swift,danielmartin/swift,OscarSwanros/swift,Jnosh/swift,arvedviehweger/swift,huonw/swift,swiftix/swift,lorentey/swift,ben-ng/swift,ahoppen/swift,djwbrown/swift,kperryua/swift,modocache/swift,dduan/swift,djwbrown/swift,glessard/swift,jckarter/swift,dduan/swift,stephentyrone/swift,gribozavr/swift,Jnosh/swift,tkremenek/swift,KrishMunot/swift,parkera/swift,hughbe/swift,SwiftAndroid/swift,xedin/swift,rudkx/swift,huonw/swift,ben-ng/swift,karwa/swift,IngmarStein/swift,parkera/swift,alblue/swift,brentdax/swift,hooman/swift,austinzheng/swift,benlangmuir/swift,tjw/swift,arvedviehweger/swift,gregomni/swift,frootloops/swift,gregomni/swift,manavgabhawala/swift,modocache/swift,ahoppen/swift,calebd/swift,CodaFi/swift,rudkx/swift,shajrawi/swift,adrfer/swift,devincoughlin/swift,calebd/swift,benlangmuir/swift,SwiftAndroid/swift,practicalswift/swift,brentdax/swift,SwiftAndroid/swift,aschwaighofer/swift,natecook1000/swift,brentdax/swift,amraboelela/swift,manavgabhawala/swift,tinysun212/swift-windows,hughbe/swift,harlanhaskins/swift,dreamsxin/swift,gottesmm/swift,uasys/swift,OscarSwanros/swift,devincoughlin/swift,xwu/swift,codestergit/swift,roambotics/swift,JGiola/swift,tjw/swift,xwu/swift,arvedviehweger/swift,jopamer/swift,deyton/swift,zisko/swift,swiftix/swift,apple/swift,return/swift,shajrawi/swift,nathawes/swift,practicalswift/swift,glessard/swift,IngmarStein/swift,manavgabhawala/swift,frootloops/swift,slavapestov/swift,shajrawi/swift,harlanhaskins/swift,JaSpa/swift,IngmarStein/swift,natecook1000/swift,sschiau/swift,practicalswift/swift,glessard/swift,jtbandes/swift,milseman/swift,jtbandes/swift,tkremenek/swift,CodaFi/swift,Jnosh/swift,karwa/swift,jckarter/swift,KrishMunot/swift,kstaring/swift,swiftix/swift,danielmartin/swift,hughbe/swift,dreamsxin/swift,manavgabhawala/swift,airspeedswift/swift,kperryua/swift,atrick/swift,danielmartin/swift,hooman/swift,tjw/swift,hughbe/swift,jtbandes/swift,sschiau/swift,karwa/swift,jopamer/swift,amraboelela/swift,manavgabhawala/swift,practicalswift/swift,hughbe/swift,parkera/swift