about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap_test.py
AgeCommit message (Collapse)AuthorLines
2019-12-21bootstrap.py fetches rustfmt.Adam Perry-2/+2
Co-Authored-By: Mark Rousskov <mark.simulacrum@gmail.com>
2018-12-25Remove licensesMark Rousskov-10/+0
2017-10-09Add __future__ imports to increase compatibility with Python 3. Derive ↵johnthagen-0/+1
Option from object to make it a new-style class for Python 3 compatibility.
2017-09-02Remove invalid doctest from bootstrap.py.kennytm-2/+4
Make sure that if the test is failed, the CI will stop the build.
2017-07-25bootstrap: Major refactoringMilton Mazzarri-0/+114
This commit includes the following: * Fix syntax errors in Python 3 * Include more docstrings in classes, methods, and functions * Include unit tests using `unittest` * Merge implementation of `{rustc,cargo}_out_of_date` * Merge implementation of `RustBuild.{cargo,rustc}` * Remove unnecessary source code * Move all the attributes defined outside of `__init__` * Remove remaining `%s` from print function * Remove `WindowsError` reference on non-windows systems * Rename some variables to be more explicit avoid their meaning * Run bootstrap tests in the CI process * Remove non-pythonic getters * Remove duplicate code in `download_stage0` method * Reduce the number of branches in `build_bootstrap` method * Re-raise exception when we cannot execute uname in non-windows systems * Avoid long lines