about summary refs log tree commit diff
path: root/src/tools/compiletest
AgeCommit message (Collapse)AuthorLines
2016-05-06refactor interface of make_compile_argsNiko Matsakis-21/+26
2016-05-06Auto merge of #33225 - michaelwoerister:fix-debuginfo-struct-ns, r=eddybbors-47/+51
debuginfo: Fix regression in namespace handling for struct types. Fixes a small regression that has been introduced in recent refactorings. Fixes #33193 r? @eddyb
2016-05-03mk: Pass CFLAGS for target, not hostAlex Crichton-0/+5
This changes the CFLAGS and related variables passed to compiletest to be passed for the target, not the host, so we can correctly test 32-bit cross compiles on 64-bit host machines. Hopefuly fixes #33379
2016-05-03Make runtest::check_debugger_output() handle wildcards at end.Michael Woerister-47/+51
2016-05-02adapt JSON to new modelNiko Matsakis-11/+36
Each Span now carries a `is_primary` boolean along with an optional label. If there are multiple labels for a span, it will appear multiple times.
2016-04-28test: Move run-make tests into compiletestAlex Crichton-17/+153
Forcing them to be embedded in makefiles precludes being able to run them in rustbuild, and adding them to compiletest gives us a great way to leverage future enhancements to our "all encompassing test suite runner" as well as just moving more things into Rust. All tests are still Makefile-based in the sense that they rely on `make` being available to run them, but there's no longer any Makefile-trickery to run them and rustbuild can now run them out of the box as well.
2016-04-23Auto merge of #33084 - alexcrichton:osx-python-sanity, r=michaelwoeristerbors-6/+11
Sanity check Python on OSX for LLDB tests Two primary changes: * Don't get past the configure stage if `python` isn't coming from `/usr/bin` * Call `debugger.Terminate()` to prevent segfaults on newer versions of LLDB. Closes #32994
2016-04-22Fix filepath check for macro backtraceJonathan Turner-1/+1
2016-04-21Fix for filepath for cfail tests in windowsJonathan Turner-1/+4
2016-04-21add serialize as a dep for compiletestNiko Matsakis-0/+13
2016-04-21move json.rs fileNiko Matsakis-0/+194
2016-04-21port compiletest to use JSON outputNiko Matsakis-195/+149
This uncovered a lot of bugs in compiletest and also some shortcomings of our existing JSON output. We had to add information to the JSON output, such as suggested text and macro backtraces. We also had to fix various bugs in the existing tests. Joint work with jntrnr.
2016-04-19mk: Force system python for LLDB tests on OSXAlex Crichton-6/+11
Force usage of /usr/bin/python whenever we run LLDB tests on OSX because it looks like no other Python will work.
2016-04-18rustbuild: Add support for compiletest test suitesAlex Crichton-0/+3748
This commit adds support in rustbuild for running all of the compiletest test suites as part of `make check`. The `compiletest` program was moved to `src/tools` (like `rustbook` and others) and is now just compiled like any other old tool. Each test suite has a pretty standard set of dependencies and just tweaks various parameters to the final compiletest executable. Note that full support is lacking in terms of: * Once a test suite has passed, that's not remembered. When a test suite is requested to be run, it's always run. * The arguments to compiletest probably don't work for every possible combination of platforms and testing environments just yet. There will likely need to be future updates to tweak various pieces here and there. * Cross compiled test suites probably don't work just yet, support for that will come in a follow-up patch.