Skip to content

Commit 05e0a94

Browse files
committed
---
yaml --- r: 72059 b: refs/heads/dist-snap c: 958189d h: refs/heads/master i: 72057: d426b31 72055: ed70331 v: v3
1 parent 14d3f27 commit 05e0a94

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: b50030718cf28f2a5a81857a26b57442734fe854
10-
refs/heads/dist-snap: e2d947d72f78ea195585fd2fc10e2a7bd8d274a4
10+
refs/heads/dist-snap: 958189dba10536bd3f41004c4806893ec5deadd9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Commands that should succeed:
2+
3+
1. rustpkg install github.com/mozilla-servo/rust-http-client
4+
5+
2. Create a git repo containing a package "foo", add a tag called "1.0" -- `rustpkg install foo` should install a library called "libfoo-....-1.0..."
6+
7+
3. rustpkg install foo, if ./.rust/foo exists and is a valid package directory
8+
9+
4. RUST_PATH=/home/rust rustpkg install foo installs an executable in /home/rust/foo if ./foo exists and is a valid package directory
10+
11+
5. RUST_PATH=/home/rust:/home/more_rust rustpkg install foo succeeds if /home/more_rust/foo exists and is a valid package directory
12+
13+
6. rustpkg install foo; rustpkg install bar; rustpkg install quux; rustpkg list should show foo, bar, and quux
14+
6a. then, rustpkg remove foo; rustpkg list should show bar and quux, but not foo
15+
16+
7. Execute `rustpkg build foo`. Check the datestamp on build/foo. Execute the same command again. Make sure the datestamp hasn't changed.
17+
18+
8. Execute `rustpkg build foo` where foo has a dependency on bar, which hasn't been built before. Check the datestamps on build/foo and build/bar and make sure bar's datestamp is earlier than foo's.
19+
20+
9. Execute `rustpkg build foo` where foo has a dependency on bar, which hasn't been built before. Then, change one of the source files in bar. Execute `rustpkg build foo` again. Make sure, based on datestamps, that foo was really rebuilt.
21+
22+
10. Repeat test 9 in the case where the contents of the source file in bar change but its datestamp doesn't change.
23+
24+
11. If the current directory contains package directories for foo-0.1 and foo.0.2, `rustpkg install foo#0.1` installs foo#0.1 and doesn't install foo#0.2.
25+
26+
12. `rustpkg do fancy-pkg frob` succeeds if `fancy-pkg` has a package script that defines a custom build hook named `frob`.
27+
28+
13. `rustpkg info foo` prints out something about foo, if foo is installed.
29+
30+
14. (Not sure what prefer and unprefer do)
31+
32+
15. `rustpkg test foo` runs tests and prints their output, if foo contains #[test]s.
33+
34+
16. If foo is installed, `rustpkg uninstall foo; rustpkg list` doesn't include foo in the list
35+

0 commit comments

Comments
 (0)