rust/src/test/run-fail
Alex Crichton ab1dd09d73 rustc: Switch defaults from libgreen to libnative
The compiler will no longer inject libgreen as the default runtime for rust
programs, this commit switches it over to libnative by default. Now that
libnative has baked for some time, it is ready enough to start getting more
serious usage as the default runtime for rustc generated binaries.

We've found that there isn't really a correct decision in choosing a 1:1 or M:N
runtime as a default for all applications, but it seems that a larger number of
programs today would work more reasonable with a native default rather than a
green default.

With this commit come a number of bugfixes:

* The main native task is now named "<main>"
* The main native task has the stack bounds set up properly
* #[no_uv] was renamed to #[no_start]
* The core-run-destroy test was rewritten for both libnative and libgreen and
  one of the tests was modified to be more robust.
* The process-detach test was locked to libgreen because it uses signal handling
2014-03-21 12:03:13 -07:00
..
args-fail.rs register snapshots 2013-10-23 18:06:12 -04:00
assert-as-macro.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
assert-eq-macro-fail.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
assert-macro-explicit.rs modified logging function to truncate output and adjusted error output formatting tests to be compatible with both the new and old runtimes 2013-08-03 03:09:04 -04:00
assert-macro-fmt.rs rfail: Remove usage of fmt! 2013-09-30 23:21:20 -07:00
assert-macro-owned.rs modified logging function to truncate output and adjusted error output formatting tests to be compatible with both the new and old runtimes 2013-08-03 03:09:04 -04:00
assert-macro-static.rs modified logging function to truncate output and adjusted error output formatting tests to be compatible with both the new and old runtimes 2013-08-03 03:09:04 -04:00
binop-fail-2.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
binop-fail-3.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
binop-fail.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
bounds-check-no-overflow.rs Uppercase numeric constants 2014-01-25 21:38:25 +13:00
bug-811.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
bug-2470-bounds-check-overflow-2.rs test: Automatically remove all ~[T] from tests. 2014-03-21 23:37:21 +11:00
bug-2470-bounds-check-overflow-3.rs test: Automatically remove all ~[T] from tests. 2014-03-21 23:37:21 +11:00
bug-2470-bounds-check-overflow.rs test: Make manual changes to deal with the fallout from removal of 2014-03-21 23:37:21 +11:00
die-macro-expr.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
die-macro-pure.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
die-macro.rs Added tests to make tidy 2014-02-07 12:49:24 -06:00
divide-by-zero.rs Fix warnings it tests 2013-08-17 08:42:35 -07:00
doublefail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
explicit-fail-msg.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
explicit-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
expr-fn-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
expr-if-fail-fn.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
expr-if-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
expr-match-fail-fn.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
expr-match-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
extern-fail.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
fail-arg.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
fail-macro-any-wrapped.rs Allow fail messages to be caught, and introduce the Any trait 2013-10-28 08:50:32 +01:00
fail-macro-any.rs Cleaned up std::any 2014-03-04 21:10:23 +01:00
fail-macro-explicit.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
fail-macro-fmt.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
fail-macro-owned.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
fail-macro-static.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
fail-main.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
fail-parens.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
fail-task-name-none.rs Remove do keyword from test/ 2014-01-29 09:15:42 -05:00
fail-task-name-owned.rs Update clients of the TaskBuilder API 2014-02-16 15:34:02 -08:00
fail-task-name-send-str.rs Update clients of the TaskBuilder API 2014-02-16 15:34:02 -08:00
fail-task-name-static.rs Update clients of the TaskBuilder API 2014-02-16 15:34:02 -08:00
fail.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
fmt-fail.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
for-each-loop-fail.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
glob-use-std.rs testsuite: test for fixed issue. Closes #7580. 2013-10-20 20:19:29 +11:00
if-check-fail.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
if-cond-bot.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
issue-948.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
issue-2061.rs test: Clean out the test suite a bit 2014-02-25 09:21:09 -08:00
issue-2272.rs register snapshots 2013-10-23 18:06:12 -04:00
issue-2444.rs extern mod => extern crate 2014-02-14 22:55:21 -08:00
issue-2761.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
issue-3029.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
issue-5500.rs Reenable some ignored test cases 2014-02-12 20:23:45 +01:00
main-fail.rs Give test and main tasks better names 2013-11-01 09:16:11 -07:00
match-bot-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
match-disc-bot.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
match-wildcards.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
mod-zero.rs Fix warnings it tests 2013-08-17 08:42:35 -07:00
morestack1.rs Change xfail directives in compiletests to ignore, closes #11363 2014-02-11 18:23:20 +01:00
morestack2.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
morestack3.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
morestack4.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
native-failure.rs rustc: Switch defaults from libgreen to libnative 2014-03-21 12:03:13 -07:00
result-get-fail.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
rhs-type.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
rt-set-exit-status-fail.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
rt-set-exit-status-fail2.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
rt-set-exit-status.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
run-unexported-tests.rs extra: Put the nail in the coffin, delete libextra 2014-03-14 13:59:02 -07:00
str-overrun.rs Remove ancient emacs mode lines from test cases 2013-10-25 17:41:54 -07:00
task-spawn-barefn.rs Remove linked failure from the runtime 2013-11-24 21:21:12 -08:00
test-fail.rs extra: Capture stdout/stderr of tests by default 2014-02-14 07:46:29 -08:00
test-tasks-invalid-value.rs extra: error message should reflact that RUST_TEST_TASKS should be strictly positive (zero is illegal). 2013-08-29 22:58:27 +10:00
tls-exit-status.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
too-much-recursion-unwinding.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unimplemented-macro-fail.rs Add unimplemented! macro 2014-02-08 04:43:39 +11:00
unique-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
unreachable-macro-fail.rs Add missing test for unreachable! macro 2014-02-08 04:43:51 +11:00
unwind-assert.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-box-fn-unique.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unwind-box-res.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unwind-box-str.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unwind-box-unique-unique.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unwind-box-unique.rs log: Introduce liblog, the old std::logging 2014-03-15 22:26:36 -07:00
unwind-box-vec.rs test: Automatically remove all ~[T] from tests. 2014-03-21 23:37:21 +11:00
unwind-box.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-fail.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-initializer-indirect.rs register snapshots 2013-10-23 18:06:12 -04:00
unwind-initializer.rs register snapshots 2013-10-23 18:06:12 -04:00
unwind-interleaved.rs test: Automatically remove all ~[T] from tests. 2014-03-21 23:37:21 +11:00
unwind-iter.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-iter2.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-lambda.rs librustc: Remove remaining uses of &fn() in favor of ||. 2013-11-26 08:20:58 -08:00
unwind-match.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-misc-1.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-move.rs register snapshots 2013-10-23 18:06:12 -04:00
unwind-nested.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-partial-box.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-partial-unique.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-partial-vec.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-rec.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-rec2.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-resource-fail.rs register snapshots 2013-10-23 18:06:12 -04:00
unwind-resource-fail2.rs Change xfail directives in compiletests to ignore, closes #11363 2014-02-11 18:23:20 +01:00
unwind-resource-fail3.rs register snapshots 2013-10-23 18:06:12 -04:00
unwind-stacked.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-tup.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-tup2.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
unwind-uninitialized.rs Gate literal box expressions in addition to types 2013-12-12 00:49:57 -08:00
unwind-unique.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
vec-overrun.rs Remove outdated and unnecessary std::vec_ng::Vec imports. 2014-03-22 01:08:57 +11:00
while-body-fails.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
while-fail.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00