Uh oh!
There was an error while loading. Please reload this page.
src/test/bench: restructure - #8458
Conversation
brson
commented
Aug 11, 2013
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. |
emberian
commented
Aug 12, 2013
@brson I'll take a shot at compiletest in the morning. thanks! |
emberian
commented
Aug 12, 2013
@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. |
brson
commented
Aug 16, 2013
@cmr: here's a diff against your patch: |
catamorphism
commented
Aug 21, 2013
@cmr: Needs a rebase. |
catamorphism
commented
Aug 28, 2013
One of the pretty printer tests segfaulted -- could this be a stack size issue? |
alexcrichton
commented
Aug 29, 2013
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 |
emberian
commented
Aug 29, 2013
Seems there might be some latent OS X issues? |
huonw
commented
Aug 29, 2013
(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.
8458: Respect test style guidelines in tests::traits r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
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.