Commit graph

14 commits

Author SHA1 Message Date
Fabien Antoine c560869176 Added test 2017-05-06 14:44:41 +02:00
Joonas Koivunen c9f86804ef git: use lower case in error message 2017-04-17 15:08:51 +03:00
Joonas Koivunen e9908c71e2 style fixes 2017-04-14 10:55:26 +03:00
Joonas Koivunen d31f24bdbb git: adjust error on submodule update failure
Now instead of reporting single generic "submodule update failed" a
dependency specific submodule update failed error message will be
reported and shown without --verbose.
2017-04-14 09:31:12 +03:00
Joonas Koivunen d804b03afb reproduce error msg in test case 2017-04-14 06:58:02 +03:00
tee-too e45a25012b Remove --cap-lints feature detection (fix issue #3828) 2017-03-17 14:52:31 +01:00
Andre Bogus c5611a32b4 some clippy-suggested improvements 2017-02-18 14:17:49 +01:00
Alex Crichton c0cc8ffe24 Handle rev being a tag
Previously if a rev was specified as a tag then we'd trip an assertion because
resetting to that tag would reset to the tag that the commit pointed to, which
would then cause the head id of the repo to be different than what we thought it
was.

Instead, we handle the case where a `rev` specification is a tag explicitly by
using the tag's target id as the revision that we're going to check out, not the
id of the tag itself.

Closes #3580
2017-01-23 09:25:14 -08:00
Justin Geibel 34628b6574 Rename debug target to dev in build output
This renames the debug target to dev in the build output for non-release
builds.  This includes the output of commands such as `cargo build`,
`cargo test`, and `cargo doc`.

Closes #3519
2017-01-11 21:10:29 -05:00
Nipunn Koorapati 530f2dd417 Mix feature flags into fingerprint/metadata shorthash
Since building dependencies results in different libraries
depending on the feature flags, I added the feature flags
into the short_hash. This solves an issue when multiple crates
share a target directory or multiple targets share a common
library with divergent feature flag choice.

- Only link binaries, build scripts, and top level deps
- Handle dylibs differently (no metadata filename / linking)
- Fingerprint based on link_dst rather than file_stem.

This (sadly) limits the effects of dep caching to things
which don't produce a hard-link. Currently, this is only dependent
library crates. Stil a big win.
2016-11-07 20:17:56 +11:00
Nipunn Koorapati a753d2f0b5 Add a [/] macro expansion for tests
Converts to backslash on windows. Currently, we're using [..],
so this will tighten up the tests.
2016-11-06 13:26:34 +11:00
Nipunn Koorapati 92175a2388 Add an [EXE] hamcrest substitution for file extension
This should make the testing a bit more precise as to whether
we expect targets of the form foo.exe vs foo-abc123.exe. I
was also considering adding a [/] substitution for the fwd
slash vs backslash [..], but thought I would leave that to another PR
if we thought that was a good idea.
2016-11-04 16:21:51 +11:00
Jonathan Turner cd955f129d Add 'Finished' line after compile finishes with compile timing and build type 2016-07-25 16:30:03 -07:00
Alex Crichton 763ba535eb Shared the test suite into multiple binaries
Compiling everything in one binary was getting annoying as it just took forever
to build, instead shard it all up so we can build just particular test suites at
a time.
2016-05-25 21:25:13 -07:00
Renamed from tests/test_cargo_compile_git_deps.rs (Browse further)