Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Do not check for product directory if not generating_layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jashook committed Aug 16, 2018
1 parent 3c083cd commit cf111c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cf111c6

Please sign in to comment.