Thanks for adding --build-directory. It would be nice if it didn't assume that there would be subdirectories named Release or Debug. There are other flavors of builds. I'd prefer it to match run-webkit-tests where --root points directly at the folder containing the app and frameworks.
Is your request to add --root? I don't think we should change the semantics of --build-directory as it'll be confusing for run-perf-tests and run-webkit-tests to interpret the same option differently.
I guess I am. I didn't even realize --build-directory was an option for run-webkit-tests.
See https://bugs.webkit.org/show_bug.cgi?id=91890 and http://trac.webkit.org/changeset/123530. My current plan is to get rid of --build-directory in run-webkit-tests, and then replace --build-directory by --root in run-perf-tests. We should probably rename --root though... it's such a cryptic name...
(In reply to comment #3) > See https://bugs.webkit.org/show_bug.cgi?id=91890 and http://trac.webkit.org/changeset/123530. > > My current plan is to get rid of --build-directory in run-webkit-tests, and then replace --build-directory by --root in run-perf-tests. > > We should probably rename --root though... it's such a cryptic name... Now in run-webkit-tests --root is looking for the binary in bin/ directory, it doesn't seem much better than --build-directory. I support to make these things clear!