about summary refs log tree commit diff
path: root/src/test/bench/shootout-nbody.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵Graham Fawcett-1/+1
empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+3
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-09Add "cdecl" as synonym for "c-stack-cdecl"Brian Anderson-1/+1
2011-10-24switch over sqrt from llvm to c-stack-cdecl, exposing a bug inNiko Matsakis-2/+2
the supported return types of upcall_c_stack
2011-10-12all tests passNiko Matsakis-2/+2
2011-09-19Un-xfail various testsBrian Anderson-1/+0
2011-09-12Merge branch 'unwind'Brian Anderson-0/+1
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-5/+5
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-11XFAIL bench/shootout-nbodyBrian Anderson-0/+1
This is the only file in the whole codebase that depends on the (broken) llvm native ABI.
2011-08-20ReformatBrian Anderson-17/+16
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-2/+2
2011-08-12Convert most working tests to ivecsBrian Anderson-7/+7
I tried to pay attention to what was actually being tested so, e.g. when I test was just using a vec as a boxed thing, I converted to boxed ints, etc. Haven't converted the macro tests yet. Not sure what to do there.
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-1/+0
2011-08-02Include benchmarks in pretty-print testsBrian Anderson-0/+1
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-13/+9
2011-07-27Reformat for new syntaxMarijn Haverbeke-139/+118
2011-07-24The Big Test Suite OverhaulBrian Anderson-0/+229
This replaces the make-based test runner with a set of Rust-based test runners. I believe that all existing functionality has been preserved. The primary objective is to dogfood the Rust test framework. A few main things happen here: 1) The run-pass/lib-* tests are all moved into src/test/stdtest. This is a standalone test crate intended for all standard library tests. It compiles to build/test/stdtest.stageN. 2) rustc now compiles into yet another build artifact, this one a test runner that runs any tests contained directly in the rustc crate. This allows much more fine-grained unit testing of the compiler. It compiles to build/test/rustctest.stageN. 3) There is a new custom test runner crate at src/test/compiletest that reproduces all the functionality for running the compile-fail, run-fail, run-pass and bench tests while integrating with Rust's test framework. It compiles to build/test/compiletest.stageN. 4) The build rules have been completely changed to use the new test runners, while also being less redundant, following the example of the recent stageN.mk rewrite. It adds two new features to the cfail/rfail/rpass/bench tests: 1) Tests can specify multiple 'error-pattern' directives which must be satisfied in order. 2) Tests can specify a 'compile-flags' directive which will make the test runner provide additional command line arguments to rustc. There are some downsides, the primary being that Rust has to be functioning pretty well just to run _any_ tests, which I imagine will be the source of some frustration when the entire test suite breaks. Will also cause some headaches during porting. Not having individual make rules, each rpass, etc test no longer remembers between runs whether it completed successfully. As a result, it's not possible to incrementally fix multiple tests by just running 'make check', fixing a test, and repeating without re-running all the tests contained in the test runner. Instead you can filter just the tests you want to run by using the TESTNAME environment variable. This also dispenses with the ability to run stage0 tests, but they tended to be broken more often than not anyway.