Brian Anderson
2f7bc90514
Add a stdtest crate to hold the standard library tests
...
This will link to std and compile with the --test flag. Eventually the
run-pass/lib* tests will move here.
We could also put the std tests directly into the library and compile both a
library version and a test version, but I think this way will make for faster
builds.
Issue #428
2011-07-06 14:39:40 -07:00
Brian Anderson
6853e04fc4
Temporarily introduce a stage2-check build target
...
The tinderbox snapshotting scripts seem to be looking for a stage2-check
target when they should be using check-stage2. Since Graydon is out of the
office, I'm making this change to see if the snapshot will go through.
2011-07-05 12:57:26 -07:00
Graydon Hoare
afabde19dc
More fixes to fast-check.
2011-06-29 17:54:05 -07:00
Graydon Hoare
4e5d32e1c4
Add fast-check target that combines the stage2 run-pass suite into a single executable.
2011-06-29 15:14:55 -07:00
Graydon Hoare
5059c5f8fd
Actually notice xfail-stage2 as different from xfail-stage2. Fix affected tests.
2011-06-28 17:36:51 -07:00
Graydon Hoare
79ba31504b
Fixes to speed and clean up makefiles.
2011-06-25 19:23:32 +00:00
Brian Anderson
fc12577fdd
Add makefile rules to run compile-fail tests on .rc files
...
There's even more duplication now, but I'm reluctant to touch it since it's
easy to subtly break the build rules
2011-06-16 17:23:20 -07:00
Rafael Ávila de Espíndola
346f1a6769
More driver related cleanups.
2011-06-16 15:06:09 -04:00
Rafael Ávila de Espíndola
c3015b8952
Apply the makefile changes again, this time fixin the driver to not produce a
...
rustc.exe.exe.
2011-06-14 17:51:31 -04:00
Rafael Ávila de Espíndola
7b5c3afae5
Revert part of my last change while I figure out why windows doesn't like it.
2011-06-14 15:55:51 -04:00
Rafael Ávila de Espíndola
8d7f7c2a97
Move a bit more to use the driver.
2011-06-14 14:49:18 -04:00
Rafael Ávila de Espíndola
2c16be424b
Use main.o directly now that stage0 is ok with it.
2011-06-08 13:33:35 -04:00
Rafael Ávila de Espíndola
b1d6f12a05
Don't put a copy of main (the C one) in each binary we produce. This is a step
...
in getting a driver that works on all linux systems.
Sorry for the linker hacks, I will remove them after snapshotting a new compiler.
2011-06-07 16:56:27 -04:00
Brian Anderson
e3b3a71e6a
Don't fiddle with RUST_LOG in the Makefiles
...
This is no longer necessary since error logging is not affected by RUST_LOG.
2011-05-27 17:01:15 -04:00
Brian Anderson
70106f35ce
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.
2011-05-24 22:09:12 -04:00
Graydon Hoare
c787d6d4f3
Change 'check' make target to just stage2 tests; add full-check for all of them.
2011-05-11 09:37:23 -07:00
Patrick Walton
269550f673
build: Use clang to compile the runtime if available
2011-05-08 21:10:43 -07:00
Graydon Hoare
add7d34164
Add stage-specific test targets (make check-stage1 etc.)
2011-05-04 17:32:35 -07:00
Graydon Hoare
48021ef1f6
Fix horrible rule-hijacking bug that was causing compile-fail targets to trigger honest compile attempts.
2011-05-04 11:21:14 -07:00
Graydon Hoare
4f52ab52c1
Remove everything to do with rustboot from makefiles.
2011-05-03 15:56:00 -07:00
Graydon Hoare
40624e35d7
Start splitting up Makefile.in
2011-05-01 20:20:25 +00:00