summary refs log tree commit diff
path: root/src/compiletest
AgeCommit message (Collapse)AuthorLines
2012-01-19misc: ';' to ',' in enums in cargo, compiletest, and fuzzerPatrick Walton-2/+2
2012-01-19libcore: Use 4x the number of scheduler threads for testingBrian Anderson-1/+0
An arbitrary number. I've done no measurements but it's intended to overcome the effects of tasks randomly being scheduled to threads and no work stealing. If scheduler threads == 1 then we just use a single test task.
2012-01-19misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdocPatrick Walton-2/+2
2012-01-19Use fn~ to simplify the core::test interfaceBrian Anderson-34/+18
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-19/+19
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17Update crates with correct crate_type attributeBrian Anderson-0/+2
2012-01-11Major clean-up of std::ioMarijn Haverbeke-14/+7
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.
2012-01-06port over the tests to use the new APINiko Matsakis-16/+15
2012-01-04make scanning more efficient by avoiding recomputationNiko Matsakis-4/+7
2012-01-04extend tester so that error msgs can be attached to linesNiko Matsakis-3/+122
2012-01-01freebsd supportUser Jyyou-0/+4
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-1/+1
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-2/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-6/+6
#debug.
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-2/+5
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-27/+28
2011-11-29when type checking still pass in the rustc args from cmd lineNiko Matsakis-6/+2
otherwise we use the wrong target and things start to fail
2011-11-22runtest.rs: Fix typo in error messageHaitao Li-1/+1
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16fix mismatched types---make check passes on x86_64!Niko Matsakis-4/+6
2011-11-16Fix S_IRUSR/S_IWUSR constants on mac. Closes #726Brian Anderson-7/+0
2011-11-10Cleanup unused imports in testsHaitao Li-3/+0
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-8/+8
2011-11-01Add should_fail annotation for unit testsMatt Brubeck-1/+2
This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails.
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-1/+0
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-4/+6
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-3/+3
Closes #1067
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-7/+7
Issue #1056
2011-10-20Remove temporary fn# syntaxBrian Anderson-2/+2
2011-10-20Get windows working under the bare function regimeBrian Anderson-1/+1
Had to ignore some task failure tests due to the current implementation of spawn which guarantees that there's always something in the spawned task that needs to be unwound. Fixed some win-specific build problems.
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-8/+8
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-2/+2
Issue #1022
2011-10-20Convert the test runners to typesafe spawnBrian Anderson-80/+23
Issue #1022
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-3/+3
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12all tests passNiko Matsakis-2/+2
2011-10-12continue to annotate functions as unsafe where neccessaryNiko Matsakis-1/+1
2011-10-10Adjust function signatures to allow for vecs being immediateMarijn Haverbeke-1/+1
Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021
2011-10-09Revert "Revert "Stop using (DY)LD_LIBRARY_PATH on Unix""Brian Anderson-1/+21
This reverts commit 941d5e737cf459a8748a509850e9cfa4a573e78d.
2011-10-09Revert "Stop using (DY)LD_LIBRARY_PATH on Unix"Brian Anderson-21/+1
This reverts commit 4b58071f96821f43e5124d46b65f4e777992415f.
2011-10-06Stop using (DY)LD_LIBRARY_PATH on UnixBrian Anderson-1/+21
2011-10-02Move compiletest to src/ and cleanup build rulesBrian Anderson-0/+1053