test: Fix run-fail testing and bring tests up to date

A typo in the Makefile was causing these to not run. Happily, a lot of these
tests pass, so un-xfailed.
This commit is contained in:
Brian Anderson 2011-05-24 22:09:12 -04:00
parent 763380a2cc
commit 70106f35ce
10 changed files with 4 additions and 22 deletions

View File

@ -91,9 +91,9 @@ TEST_RFAIL_EXES_STAGE2 = \
TEST_RFAIL_OUTS_STAGE0 = \
$(TEST_RFAIL_EXES_STAGE0:.stage0$(X)=.stage0.out)
TEST_RFAIL_OUTS_STAGE1 = \
$(TEST_RFAIL_EXES_STAGE0:.stage1$(X)=.stage1.out)
$(TEST_RFAIL_EXES_STAGE1:.stage1$(X)=.stage1.out)
TEST_RFAIL_OUTS_STAGE2 = \
$(TEST_RFAIL_EXES_STAGE0:.stage2$(X)=.stage2.out)
$(TEST_RFAIL_EXES_STAGE2:.stage2$(X)=.stage2.out)
TEST_CFAIL_CRATES_STAGE0 = $(filter-out $(TEST_XFAILS_STAGE0), $(CFAIL_RC))

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern:explicit
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:explicit failure
fn main() {

View File

@ -1,4 +1,3 @@
// xfail-stage0
// error-pattern:explicit failure
fn main() {

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern:1 == 2
fn main() {

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern:non-exhaustive match failure

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern:bounds check

View File

@ -1,4 +1,6 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
/*
This program should hang on the r <- po line.
*/

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern:bounds check

View File

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern:bounds check