Graydon Hoare
447414f007
Establish 'core' library separate from 'std'.
2011-12-06 12:13:04 -08:00
Brian Anderson
9711596bec
Fix definition of check-stageN-all targets
2011-12-03 20:23:54 -08:00
Niko Matsakis
9cc2515dfa
make check test stage3
2011-12-02 19:05:50 -08:00
Niko Matsakis
1eb378b23a
make "check" match "all": only the host triple
2011-12-02 19:05:49 -08:00
Brian Anderson
fc6f3b1b14
build: Have 'make check' run all target/host combinations
2011-11-29 15:37:33 -08:00
Niko Matsakis
aba6e63543
work on perf
2011-11-29 12:51:12 -08:00
Niko Matsakis
6bced5be31
fix more problems w/ check-fast
2011-11-29 12:51:11 -08:00
Niko Matsakis
4f92204765
make check-fast work
2011-11-29 12:51:11 -08:00
Niko Matsakis
6e55426c8c
tweak to get windows test-running correct
2011-11-29 12:51:10 -08:00
Niko Matsakis
9c00c62b08
fix makefiles, add option to ignore changes in makefiles
2011-11-29 12:51:09 -08:00
Niko Matsakis
791dc23c83
make check works
2011-11-29 12:51:08 -08:00
Niko Matsakis
c9061733c6
misc fixes
2011-11-29 12:51:07 -08:00
Niko Matsakis
9c12c7c7f5
basic builds function
2011-11-29 12:51:07 -08:00
Stefan Plantikow
25b44a8973
Added CFG_NOTIDY flag to the build
...
This should allow a small speedup for test builds; unset by default
2011-11-18 21:19:18 -08:00
Brian Anderson
3bffb8b5de
build: Add various shorthand make check rules
2011-11-17 12:04:37 -08:00
Niko Matsakis
938b23e228
fix prereqs
2011-11-16 15:27:09 -08:00
Niko Matsakis
9ccd84a9cd
fix prereqs
2011-11-16 15:16:43 -08:00
Niko Matsakis
5502354f33
correct (I think) prereqs
2011-11-16 15:16:42 -08:00
Niko Matsakis
4183023357
correct pre-reqs
2011-11-16 15:16:42 -08:00
Niko Matsakis
c997a353aa
make check-stage2-perf target work again, along with rustc, std
2011-11-16 15:16:41 -08:00
Niko Matsakis
36ab948bfa
make it so that tests can be run on different target arch
2011-11-16 15:16:40 -08:00
Niko Matsakis
e8e2f3395d
Fix build on windows
2011-11-02 14:14:20 -07:00
Niko Matsakis
93781297bf
enable building with different target arch
2011-11-02 14:13:22 -07:00
Brian Anderson
799ba7b122
Split 'make tidy' into multiple commands
...
The echo command line seems to be getting too large
2011-10-31 12:57:50 -07:00
Brian Anderson
160c56e768
Get 'make tidy' to work rustllvm and rt again
2011-10-21 17:35:52 -07:00
Brian Anderson
dd484369dc
Fix test dependencies
2011-10-11 08:54:20 -07:00
Brian Anderson
4709038d64
Bring make distcheck up to date
2011-10-06 18:12:15 -07:00
Brian Anderson
e963cfd41a
Run tests with LD_LIBRARY_PATH set to the target libs, not the host libs
...
Setting it to the host libs uses those compiled from the previous stage
2011-10-05 16:21:55 -07:00
Brian Anderson
6335529c36
Fix #1003 harder
2011-10-04 11:24:18 -07:00
Brian Anderson
f5e668c877
Fix a typo in tests.mk. Closes #1003
2011-10-04 11:19:37 -07:00
Brian Anderson
9be0dc1250
Cleanup mk/tests.mk
2011-10-02 18:00:13 -07:00
Brian Anderson
3a6f3cf275
Move compiletest to src/ and cleanup build rules
2011-10-02 17:28:59 -07:00
Brian Anderson
821dd6c02c
Change the directory for target libs
...
This pushes them down from stageN/lib/rustc/$(target) to
stageN/lib/rustc/$(target)/lib in order to make room for a target bin dir
2011-09-30 17:19:24 -07:00
Brian Anderson
f634eb2bfd
Make config of static stdlib more consistent with rest of makefile
...
I haven't tested if it actually works. Static stdlib is probably becoming
bitrotted.
2011-09-30 16:18:19 -07:00
Brian Anderson
38c67a4c8d
Abstract the build directories further in the makefiles
...
This defines variables for host bin and lib directories as well as all target
bin and lib directories then uses them everywhere.
2011-09-30 16:18:19 -07:00
Brian Anderson
ed106dd6ea
Fix some make variables in tests.mk
2011-09-30 16:18:19 -07:00
Brian Anderson
80829af872
Remove legacy library search paths
2011-09-29 23:12:31 -07:00
Brian Anderson
6306c81826
Fix a variety of things in the makefiles
...
Make tests and perf work again. Correctly get the host triple in rustc. Add
some FIXMEs about transitional code that needs to be removed.
2011-09-29 22:58:33 -07:00
Brian Anderson
ab8338fb5a
Make rustc's host triple agree with the build system's
2011-09-29 22:58:33 -07:00
Brian Anderson
0148daa058
Reorganize structure of build directory
...
Each stage is organized more according to Unix standards and to
accommodate multiple target architectures.
stageN/
bin - rustc lives here
lib - libraries that rustc needs
lib/rustc/$(target_triple/ - target libraries
2011-09-29 22:58:33 -07:00
Brian Anderson
acb0e8dcad
Don't pipe check-fast results through tee
...
This was having the effect of scrubbing failure error codes. The only affect
of removing this should be that the .out file isn't generated, so subsequent
make invocations will re-run the tests (which is how our other tests work
anyway).
2011-09-23 12:30:35 -07:00
Graydon Hoare
d5b2d62b20
Add build-system mechanisms for running benchmarks under 'perf'.
2011-09-13 15:06:41 -07:00
Brian Anderson
40ae704ff2
Begin valgrinding run-fail tests
...
Introduce a temporary no-valgrind directive for the few that aren't clean
2011-08-10 13:36:57 -07:00
Brian Anderson
ea2a968146
Include benchmarks in pretty-print tests
2011-08-02 14:37:03 -07:00
Brian Anderson
091a2c2f71
Run pretty-printer tests as part of make check. Issue #789
2011-08-02 10:39:14 -07:00
Brian Anderson
0fbb6782bb
Add dedicated pretty-printer tests with new pp-exact directive
...
Add a new src/test/pretty directory to hold just source files for testing the
pretty-printer.
Add a new pp-exact directive. When this directive is followed by a file name
it specifies a file containing the output that the pretty-printer should
generate. When pp-exact is not followed by a filename it says that the file
should pretty-print as written.
2011-08-02 10:39:13 -07:00
Brian Anderson
eea888af25
Add missing BENCH_TESTS variable to tests.mk
2011-08-02 10:39:13 -07:00
Brian Anderson
07950c8851
Add a FIXME about simplifying the make check rules
2011-08-02 10:39:13 -07:00
Brian Anderson
e13390a199
Pretty-print test the rfail tests. Issue #789
2011-08-02 10:39:13 -07:00
Brian Anderson
59691b084f
Don't run the compiletest runner itself under valgrind
...
This will reduce the valgrind deluge when a test fails. The tests themselves
are still run under valgrind. Leave a CTEST_VALGRIND environment variable for
running with the old behavior.
2011-08-02 10:39:13 -07:00