Skip to content

Commit 8987d55

Browse files
committedOct 30, 2018
Document and fix init-and-run.sh
Signed-off-by: Derrick Stolee <[email protected]>
1 parent beb3b8f commit 8987d55

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
 

‎README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ To ignore reachability indexes entirely and use the old algorithms
5555
(reported here as "OLD" values) use the environment variable
5656
`GIT_TEST_OLD_PAINT=1`.
5757

58+
### Running the tests
59+
60+
To run the tests from a fresh clone of this repository, run
61+
`init-and-run.sh`. This script does the following:
62+
63+
1. Clone the necessary repos (`clone-repos.sh`)
64+
2. Build the prototype version of Git
65+
3. Compute the commit-graph files with different indexes (`create-graphs.sh`)
66+
4. Run the performance tests: `test-merges.sh`, `topo-order-tests.sh`, `topo-compare-tests.sh`
5867

5968
Reachability Index Versions
6069
---------------------------
@@ -137,7 +146,7 @@ Essentially, the felineY order is selected with the goal of swapping
137146
positions of topologically-independent commits relative to the felinX
138147
ordering. The resulting reachability index is as follows:
139148

140-
If felineX(A) < felineY(B), then A cannot reach B.
149+
If felineX(A) < felineX(B), then A cannot reach B.
141150
If felineY(A) < felineY(B), then A cannot reach B.
142151

143152
_Commentary:_ In terms of comparing two commits directly, this index

‎init-and-run.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616
)
1717

1818
(
19-
./test-order-tests.sh >topo-order-summary.txt
19+
./topo-order-tests.sh >topo-order-summary.txt
20+
)
21+
22+
(
23+
./topo-compare-tests.sh >topo-compare-summary.txt
2024
)

0 commit comments

Comments
 (0)
Please sign in to comment.