From cf111c6bd252a02f986162e821d415d3c0df7074 Mon Sep 17 00:00:00 2001 From: jashook Date: Thu, 16 Aug 2018 11:18:09 -0700 Subject: [PATCH] Do not check for product directory if not generating_layout --- tests/runtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtest.py b/tests/runtest.py index 49eccb2c450d..f0ddf2968ce2 100755 --- a/tests/runtest.py +++ b/tests/runtest.py @@ -852,7 +852,7 @@ def setup_args(args): print "Error, test_native_bin_location: %s, does not exist." % test_native_bin_location sys.exit(1) - if args.product_location is None: + if args.product_location is None and arg.generate_layout: product_location = os.path.join(coreclr_repo_location, "bin", "Product", "%s.%s.%s" % (host_os, arch, build_type)) if not os.path.isdir(product_location): print "Error, unable to determine the product location. This is most likely because build_type was"