[tests] Rework how we AOT compile tests + General cleanup of make targets (#4639)
[mono.git] / mono / tests / reflection-load-with-context.cs
index 4c791e752a7568a06e2b6eb21430bcf90846e0dd..f55bd0b96d024767a2e9325b7d6339d8b8498906 100644 (file)
@@ -4,7 +4,7 @@ using System.IO;
 
 class Driver {
        static int Main () {
-               var src = Path.Combine (Path.GetDirectoryName (typeof (Driver).Assembly.Location), "reflection-load-dir");
+               var src = Path.GetDirectoryName (typeof (Driver).Assembly.Location);
                var dep_asm = Assembly.UnsafeLoadFrom (Path.Combine (src, "reflection-load-with-context-lib.dll"));
                var type = dep_asm.GetType ("B.ClassB");
                var attr_type = dep_asm.GetType ("B.MyAttribute");