diff --git a/docs/contributing.rst b/docs/contributing.rst index 1d621d4a9..6b2db9546 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -100,12 +100,13 @@ Running the Tests ----------------- Solidity includes different types of tests, most of them bundled into the -`Boost C++ Test Framework `_ application ``soltest``. +`Boost C++ Test Framework `_ application ``soltest``. Running ``build/test/soltest`` or its wrapper ``scripts/soltest.sh`` is sufficient for most changes. The ``./scripts/tests.sh`` script executes most Solidity tests automatically, -including those bundled into the `Boost C++ Test Framework `_ application ``soltest`` (or its wrapper ``scripts/soltest.sh``), -as well as command line tests and compilation tests. +including those bundled into the `Boost C++ Test Framework `_ +application ``soltest`` (or its wrapper ``scripts/soltest.sh``), as well as command line tests and +compilation tests. The test system automatically tries to discover the location of the ``evmone`` library starting from the current directory. The required file is called ``libevmone.so`` on Linux systems, @@ -137,9 +138,9 @@ Or, for example, to run all the tests for the yul disambiguator: See especially: -- `show_progress (-p) `_ to show test completion, -- `run_test (-t) `_ to run specific tests cases, and -- `report-level (-r) `_ give a more detailed report. +- `show_progress (-p) `_ to show test completion, +- `run_test (-t) `_ to run specific tests cases, and +- `report-level (-r) `_ give a more detailed report. .. note :: diff --git a/libevmasm/RuleList.h b/libevmasm/RuleList.h index fda7f0c7f..ec0970e65 100644 --- a/libevmasm/RuleList.h +++ b/libevmasm/RuleList.h @@ -51,7 +51,7 @@ template S modWorkaround(S const& _a, S const& _b) } // This works around a bug fixed with Boost 1.64. -// https://www.boost.org/doc/libs/1_68_0/libs/multiprecision/doc/html/boost_multiprecision/map/hist.html#boost_multiprecision.map.hist.multiprecision_2_3_1_boost_1_64 +// https://www.boost.org/doc/libs/release/libs/multiprecision/doc/html/boost_multiprecision/map/hist.html#boost_multiprecision.map.hist.multiprecision_2_3_1_boost_1_64 template S shlWorkaround(S const& _x, unsigned _amount) { return u256((bigint(_x) << _amount) & u256(-1));