<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-make/graphviz-flowgraph/f01.dot-expected.dot, branch 1.7.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.7.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-01-31T16:40:40+00:00</updated>
<entry>
<title>Kill more `isize`s</title>
<updated>2015-01-31T16:40:40+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-01-31T16:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4a43f3864e394959a7d3c3efae6da85bdc59c71'/>
<id>urn:sha1:b4a43f3864e394959a7d3c3efae6da85bdc59c71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test fallout from isize/usize</title>
<updated>2015-01-06T21:48:33+00:00</updated>
<author>
<name>Corey Richardson</name>
<email>corey@octayn.net</email>
</author>
<published>2014-12-06T02:12:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a4ca319185a3f399986bc5e5a2d0a96fac583ae'/>
<id>urn:sha1:5a4ca319185a3f399986bc5e5a2d0a96fac583ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement generalized object and type parameter bounds (Fixes #16462)</title>
<updated>2014-08-28T01:46:52+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-08-28T01:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f'/>
<id>urn:sha1:1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc: Remove the fallback to `int` for integers and `f64` for</title>
<updated>2014-06-29T18:47:58+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-06-27T19:30:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a5bb0a3a4574af88add700ace7aefc37172fa7a5'/>
<id>urn:sha1:a5bb0a3a4574af88add700ace7aefc37172fa7a5</id>
<content type='text'>
floating point numbers for real.

This will break code that looks like:

    let mut x = 0;
    while ... {
        x += 1;
    }
    println!("{}", x);

Change that code to:

    let mut x = 0i;
    while ... {
        x += 1;
    }
    println!("{}", x);

Closes #15201.

[breaking-change]
</content>
</entry>
<entry>
<title>Unit tests for flowgraph pretty printing.</title>
<updated>2014-05-15T20:50:42+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2014-05-05T15:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3aad0e249cebaf2123cd875b737c088ae2c48728'/>
<id>urn:sha1:3aad0e249cebaf2123cd875b737c088ae2c48728</id>
<content type='text'>
Each test works by rendering the flowgraph for the last identified
block we see in expanded pretty-printed output, and comparing it (via
`diff`) against a checked in "foo.dot-expected.dot" file.

Each test post-processes the output to remove NodeIds ` (id=NUM)` so
that the expected output is somewhat stable (or at least independent
of how we assign NodeIds) and easier for a human to interpret when
looking at the expected output file itself.

----

Test writing style notes:

I usually tried to write the tests in a way that would avoid duplicate
labels in the output rendered flow graph, when possible.

The tests that have string literals "unreachable" in the program text
are deliberately written that way to remind the reader that the
unreachable nodes in the resulting graph are not an error in the
control flow computation, but rather a natural consequence of its
construction.
</content>
</entry>
</feed>
