-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/test/bench: restructure #8458
Conversation
The code that configures the compiletest driver to run the benchmarks is https://github.com/cmr/rust/blob/2272fa28b29c588068a05580afd800fb77a027ff/mk/tests.mk#L505 These variables are plugged into this macro: https://github.com/cmr/rust/blob/2272fa28b29c588068a05580afd800fb77a027ff/mk/tests.mk#L505 This says to run all the .rs files in There are probably three ways to make this work: 1) teach compiletest to accept multilpe My preference is 1, but it's also the hardest. I don't like 3 that much because it will create even more 'xfail-test not a test'-type comments. |
@brson I'll take a shot at compiletest in the morning. thanks! |
@brson So the compiletest bits are done, but I can't figure out what to do to the makefile. I pushed my attempt, but it outputs:
Which, as you can see, has the wrong src-base except for the first one. I don't really know make at all. |
@cmr: here's a diff against your patch:
|
@cmr: Needs a rebase. |
One of the pretty printer tests segfaulted -- could this be a stack size issue? |
That's odd, it's the second case of segfaulting during pretty printing: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/256/steps/test/logs/stdio |
Seems there might be some latent OS X issues? |
(I've seen more than 2 segfaults there in the day, fwiw.) |
This should make benchmarks easier to understand. But, it doesn't work. BENCH_RS in mk/tests.mk has everything, from what I can tell in remake, but only those that are direct children of src/test/bench get build and run. @graydon, can you lend your expertise? I can't make heads or tails of this makefile.
This should make benchmarks easier to understand. But, it doesn't work.
BENCH_RS in mk/tests.mk has everything, from what I can tell in remake, but
only those that are direct children of src/test/bench get build and run.
@graydon, can you lend your expertise? I can't make heads or tails of this
makefile.