108 Commits

Author SHA1 Message Date
Eh2406
dae87a2624 PackageId is copy, clippy thinks we dont need &PackageId or PackageId.clone() 2018-11-27 17:43:23 -05:00
Eh2406
4c8ab5e2eb remove the O(n) lookup 2018-11-07 22:52:37 -05:00
Eh2406
1e90c0a9cc a more pure version of the test 2018-11-07 22:27:10 -05:00
Eh2406
04e1564481 add a test that defets iter.rev 2018-11-07 22:03:32 -05:00
Eh2406
7ca46cccbd move note to let it build 2018-11-07 10:41:37 -05:00
Eh2406
90a54dd9ca document that fuss tests are flaky, and how to report. 2018-11-07 10:27:09 -05:00
Eh2406
20f55af20f test that minimal-versions errors on the same input as normal resolution 2018-11-01 22:06:16 -04:00
Eh2406
9955f82162 the simplest kind of dep is a "*", so change the default 2018-11-01 21:19:27 -04:00
Eh2406
c990908dd4 faster test by unpublishing all at once 2018-10-11 15:49:48 -04:00
Eh2406
2c2b7360e3 Test that the generator makes registries that include multiple versions of the same library 2018-10-11 15:48:08 -04:00
Eh2406
1fb8931355 assert_contains -> assert_same 2018-10-11 15:45:21 -04:00
Eh2406
556908f96a validate some basic properties of a valid resolve 2018-10-06 18:07:36 -04:00
Alex Crichton
20cfb41e42 Try to improve "version not found" error
This commit tweaks the wording for when versions aren't found in a
source, notably including more location information other than the
source id but rather also taking into account replaced sources and such.
It's hoped that this gives more information to make it a bit more clear
what's going on.

Closes #6111
2018-10-02 13:18:35 -07:00
Eh2406
fe7bb39242 move helper functions to support 2018-09-26 16:49:51 -04:00
Eh2406
499bbb1ace make names more consistent between local variables and BacktrackFrame 2018-09-26 15:52:08 -04:00
Eh2406
a4da525b92 In theory shrinkage should be 2, but in practice we get better trees with a larger value. 2018-09-24 18:00:56 -04:00
Eh2406
6763eded58 proptest 0.8.7 has a better ci_no_shrink 2018-09-24 12:17:16 -04:00
Eh2406
3e7192ea5d pretty print the registry made by proptest 2018-09-21 16:22:31 -04:00
Eh2406
40d9de46d6 Merge remote-tracking branch 'origin/master' into proptest 2018-09-19 22:04:11 -04:00
Eh2406
6bd2540f53 check each registry more thoroughly 2018-09-19 19:47:55 -04:00
Eh2406
7ad9f5e964 add a test to test the tester 2018-09-19 19:41:45 -04:00
Eh2406
2015191120 edge list is a much cleaner approach 2018-09-19 19:40:05 -04:00
Eh2406
d8e19fb01f pull the has bad dep before prop_flat_map 2018-09-17 13:51:40 -04:00
Eh2406
1b15b15952 give intermediate steps names 2018-09-16 22:41:15 -04:00
Eh2406
9b2295d11f cargo fmt 2018-09-14 17:39:05 -04:00
Eh2406
8707fcbe62 small clean up 2018-09-14 16:02:38 -04:00
Eh2406
079ac47421 rename deps 2018-09-14 15:48:35 -04:00
Eh2406
fbee2e7af6 remove debs leading to remove now unused crates 2018-09-14 15:35:36 -04:00
Eh2406
9051dbfd65 a new one to minimized 2018-09-14 15:25:51 -04:00
Eh2406
2f21280b20 clean up commas 2018-09-14 13:08:53 -04:00
Eh2406
c77f60de54 rename deps 2018-09-14 11:49:18 -04:00
Eh2406
70bfd7361c remove debs leading to remove now unused crates 2018-09-14 11:14:51 -04:00
Eh2406
47d9fe9af0 remove debs leading to remove now unused crates 2018-09-13 18:49:19 -04:00
Eh2406
00cbb0ac4d remove unused crates 2018-09-12 17:27:56 -04:00
Eh2406
b0ab1f27ac a new one to minimized 2018-09-12 16:33:38 -04:00
Eh2406
a8758167ff time to investigate the bug 2018-09-06 17:17:49 -04:00
Eh2406
e6078b485e split up some names 2018-09-06 17:17:49 -04:00
Eh2406
d6d3a045c7 renumber things 2018-09-06 17:17:49 -04:00
Eh2406
ad852eb4d9 rename things 2018-09-06 17:17:48 -04:00
Eh2406
77cd4d7ca3 remove lots more 2018-09-06 17:17:48 -04:00
Eh2406
4cfe649e00 remove "D" 2018-09-06 17:17:48 -04:00
Eh2406
0781ce232d remove things depending on bad, rename some things 2018-09-06 17:17:47 -04:00
Eh2406
dfad63113e Copy the full case from 003c29b0c7 2018-09-06 17:17:47 -04:00
Eh2406
c4978512bc If resolution was unsuccessful, then it should stay unsuccessful even if any version of a crate is unpublished. 2018-09-05 17:15:44 -04:00
Eh2406
2b16156e47 If resolution was successful, then unpublishing a version of a crate that was not selected should not change that. 2018-09-05 17:13:46 -04:00
Eh2406
856964fcc8 fail fast on CI, don't shrink the input
Thanks to, @Centril for suggesting this
https://github.com/AltSysrq/proptest/issues/91#issuecomment-417778793
2018-08-31 17:37:05 -04:00
Eh2406
05c6ce0edd remove a prop_flat_map use @AltSysrq suggestion again 2018-08-31 15:13:20 -04:00
Eh2406
2b1c39f080 more controllable bad dependencies, and use Index for ranges 2018-08-30 17:42:07 -04:00
Eh2406
1eaf543ab8 small clean up 2018-08-30 15:29:10 -04:00
Eh2406
d6258e9eb3 Merge remote-tracking branch 'origin/master' into proptest
# Conflicts:
#	tests/testsuite/resolve.rs
2018-08-30 14:32:13 -04:00