[tests] Don't use Assembly.Location on Android
authorMarek Habersack <grendel@twistedcode.net>
Thu, 25 Jun 2015 18:32:10 +0000 (20:32 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:29 +0000 (20:45 +0200)
commita0de21663ee7b30a1d9784b09cd4fab2b2a75549
tree863b2d3cbdca5f8adca68792d9f7b01d7e00c82c
parent4ba51b2d63837fc4bffdad8c5bacdafcd25333ff
[tests] Don't use Assembly.Location on Android

Assembly.Location will contain just the assembly file name without any path, which
is not what the test(s) expect. The reason is that the assemblies on Android live
in the APK, are embedded in the native code or don't exist at all (AOT)
mcs/class/corlib/Test/System.Security.Policy/ZoneTest.cs